Bug 1220329 - DHT Rebalance : Misleading log messages for linkfiles
Summary: DHT Rebalance : Misleading log messages for linkfiles
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: GlusterFS
Classification: Community
Component: distribute
Version: mainline
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Susant Kumar Palai
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: 1221503
TreeView+ depends on / blocked
 
Reported: 2015-05-11 10:38 UTC by Nithya Balachandran
Modified: 2016-06-16 13:00 UTC (History)
3 users (show)

Fixed In Version: glusterfs-3.8rc2
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 1221503 (view as bug list)
Environment:
Last Closed: 2016-06-16 13:00:02 UTC
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)

Description Nithya Balachandran 2015-05-11 10:38:23 UTC
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:

Comment 1 Anand Avati 2015-05-12 07:28:02 UTC
REVIEW: http://review.gluster.org/10756 (dht/rebalance: Change log_level to DEBUG) posted (#1) for review on master by Susant Palai (spalai)

Comment 2 Anand Avati 2015-05-12 13:45:32 UTC
COMMIT: http://review.gluster.org/10756 committed in master by Shyamsundar Ranganathan (srangana) 
------
commit ef37da74d4a8595cf53cf6dfe680fe080b7c8704
Author: Susant Palai <spalai>
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>
    Reviewed-on: http://review.gluster.org/10756
    Reviewed-by: N Balachandran <nbalacha>
    Tested-by: Gluster Build System <jenkins.com>
    Reviewed-by: Shyamsundar Ranganathan <srangana>

Comment 3 Nagaprasad Sathyanarayana 2015-10-25 14:54:11 UTC
Fix for this bug is already made in a GlusterFS release. The cloned BZ has details of the fix and the release. Hence closing this mainline BZ.

Comment 4 Nagaprasad Sathyanarayana 2015-10-25 14:55:42 UTC
Fix for this BZ is already present in a GlusterFS release. You can find clone of this BZ, fixed in a GlusterFS release and closed. Hence closing this mainline BZ as well.

Comment 5 Niels de Vos 2016-06-16 13:00:02 UTC
This bug is getting closed because a release has been made available that should address the reported issue. In case the problem is still not fixed with glusterfs-3.8.0, please open a new bug report.

glusterfs-3.8.0 has been announced on the Gluster mailinglists [1], packages for several distributions should become available in the near future. Keep an eye on the Gluster Users mailinglist [2] and the update infrastructure for your distribution.

[1] http://blog.gluster.org/2016/06/glusterfs-3-8-released/
[2] http://thread.gmane.org/gmane.comp.file-systems.gluster.user


Note You need to log in before you can comment on or make changes to this bug.