[Bugs] [Bug 1220329] New: DHT Rebalance : Misleading log messages for linkfiles

bugzilla at redhat.com bugzilla at redhat.com
Mon May 11 10:38:23 UTC 2015


https://bugzilla.redhat.com/show_bug.cgi?id=1220329

            Bug ID: 1220329
           Summary: DHT Rebalance : Misleading log messages for linkfiles
           Product: GlusterFS
           Version: mainline
         Component: distribute
          Assignee: bugs at gluster.org
          Reporter: nbalacha at redhat.com
                CC: bugs at gluster.org, gluster-bugs at redhat.com



Description of problem:
The rebalance logs contains messages like the following:

[2015-05-06 23:39:00.532273] I [dht-rebalance.c:1936:gf_defrag_get_entry]
0-patchy-dht: linkfile. Hence skip for file:
/level05/level15/level25/level35/level45/level55/level65/level75/554aa5eb%%8LA99X6NJ6
[2015-05-06 23:39:00.532523] I [dht-rebalance.c:1936:gf_defrag_get_entry]
0-patchy-dht: linkfile. Hence skip for file:
/level05/level15/level25/level35/level45/level55/level65/level75/554aa5eb%%GBWHI63XCE
[2015-05-06 23:39:00.532784] I [dht-rebalance.c:1936:gf_defrag_get_entry]
0-patchy-dht: linkfile. Hence skip for file:
/level05/level15/level25/level35/level45/level55/level65/level75/554aa5eb%%1FGZKJ6C69
[2015-05-06 23:39:00.533025] I [dht-rebalance.c:1936:gf_defrag_get_entry]
0-patchy-dht: linkfile. Hence skip for file:
/level05/level15/level25/level35/level45/level55/level65/level75/554aa5eb%%QBBFUHYYAB
[2015-05-06 23:39:00.533266] I [dht-rebalance.c:1936:gf_defrag_get_entry]
0-patchy-dht: linkfile. Hence skip for file:
/level05/level15/level25/level35/level45/level55/level65/level75/554aa5eb%%PRCG2TLTCK
[2015-05-06 23:39:00.533506] I [dht-rebalance.c:1936:gf_defrag_get_entry]
0-patchy-dht: linkfile. Hence skip for file:
/level05/level15/level25/level35/level45/level55/level65/level75/554aa5eb%%PM6V2AE0RB
[2015-05-06 23:39:00.533919] I [dht-rebalance.c:2267:gf_defrag_process_dir]
0-patchy-dht: Migration operation on dir
/level05/level15/level25/level35/level45/level55/level65/level75 took 0.01 secs


Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:

These files are linkfiles only on this particular local subvolume. As the log
message does not indicate the subvol on which the linkfile was found, it looks
like dht is skipping the file.

It would be better to :
1. Move the log level to DEBUG
2. Reword the message : Skipping linkfile:
/level05/level15/level25/level35/level45/level55/level65/level75/554aa5eb%%PRCG2TLTCK

3. Include the subvol information if available

Additional info:

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.


More information about the Bugs mailing list