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

bugzilla at redhat.com bugzilla at redhat.com
Thu May 14 08:28:59 UTC 2015


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

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



+++ This bug was initially created as a clone of Bug #1220329 +++

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:

--- Additional comment from Anand Avati on 2015-05-12 12:28:02 MVT ---

REVIEW: http://review.gluster.org/10756 (dht/rebalance: Change log_level to
DEBUG) posted (#1) for review on master by Susant Palai (spalai at redhat.com)

--- Additional comment from Anand Avati on 2015-05-12 18:45:32 MVT ---

COMMIT: http://review.gluster.org/10756 committed in master by Shyamsundar
Ranganathan (srangana at redhat.com) 
------
commit ef37da74d4a8595cf53cf6dfe680fe080b7c8704
Author: Susant Palai <spalai at redhat.com>
Date:   Tue May 12 12:56:37 2015 +0530

    dht/rebalance: Change log_level to DEBUG

    Change-Id: I646367581d8ee8a9e5966ee302b19273a0c780ff
    BUG: 1220329
    Signed-off-by: Susant Palai <spalai at redhat.com>
    Reviewed-on: http://review.gluster.org/10756
    Reviewed-by: N Balachandran <nbalacha at redhat.com>
    Tested-by: Gluster Build System <jenkins at build.gluster.com>
    Reviewed-by: Shyamsundar Ranganathan <srangana at redhat.com>


Referenced Bugs:

https://bugzilla.redhat.com/show_bug.cgi?id=1220329
[Bug 1220329] DHT Rebalance : Misleading log messages for linkfiles
-- 
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