Bug 1139984 - DHT + rebalance : rebalance process crashed + data loss + few Directories are present on sub-volumes but not visible on mount point + lookup is not healing directories
Summary: DHT + rebalance : rebalance process crashed + data loss + few Directories are...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: GlusterFS
Classification: Community
Component: distribute
Version: 3.4.6
Hardware: x86_64
OS: Linux
high
high
Target Milestone: ---
Assignee: bugs@gluster.org
QA Contact:
URL:
Whiteboard:
Depends On: 1034108 1104653
Blocks: 1098971 glusterfs-3.4.6 1138922
TreeView+ depends on / blocked
 
Reported: 2014-09-10 06:56 UTC by Raghavendra G
Modified: 2015-04-13 07:06 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of: 1104653
Environment:
Last Closed: 2015-04-13 07:06:14 UTC
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)

Comment 1 Anand Avati 2014-09-10 08:37:00 UTC
REVIEW: http://review.gluster.org/8670 (dht/rebalance: Do not allow rebalance when gfid mismatch found) posted (#1) for review on release-3.4 by Raghavendra G (rgowdapp)

Comment 2 Anand Avati 2014-09-24 15:13:31 UTC
REVIEW: http://review.gluster.org/8670 (dht/rebalance: Do not allow rebalance when gfid mismatch found) posted (#2) for review on release-3.4 by Raghavendra G (rgowdapp)

Comment 3 Anand Avati 2014-09-25 12:00:26 UTC
REVIEW: http://review.gluster.org/8670 (dht/rebalance: Do not allow rebalance when gfid mismatch found) posted (#3) for review on release-3.4 by Raghavendra G (rgowdapp)

Comment 4 Anand Avati 2014-09-25 13:53:24 UTC
REVIEW: http://review.gluster.org/8670 (dht/rebalance: Do not allow rebalance when gfid mismatch found) posted (#4) for review on release-3.4 by Raghavendra G (rgowdapp)

Comment 5 Anand Avati 2014-10-09 05:39:52 UTC
REVIEW: http://review.gluster.org/8670 (dht/rebalance: Do not allow rebalance when gfid mismatch found) posted (#5) for review on release-3.4 by Raghavendra G (rgowdapp)

Comment 6 Anand Avati 2014-10-09 07:34:08 UTC
REVIEW: http://review.gluster.org/8670 (dht/rebalance: Do not allow rebalance when gfid mismatch found) posted (#6) for review on release-3.4 by Raghavendra G (rgowdapp)

Comment 7 Anand Avati 2014-10-20 14:27:45 UTC
COMMIT: http://review.gluster.org/8670 committed in release-3.4 by Kaleb KEITHLEY (kkeithle) 
------
commit 67ccd153a889d81d4cd89534dbce792c111ad1c6
Author: Venkatesh Somyajulu <vsomyaju>
Date:   Thu Jun 12 14:18:05 2014 +0530

    dht/rebalance: Do not allow rebalance when gfid mismatch found
    
    Due to race condition, it may so happen that, gfid obtained
    in readdirp and gfid found by lookup are different for a given
    name. in that case do no allow the rebalance.
    
    Readdirp of an entry will bring the gfid, which will be stored
    in the inode through inode_link, and when lookup is done and
    gfid brought by lookup is different from the one stored in the
    inode, client3_3_lookup_cbk will return ESATLE and error will be
    captured by rebalance process.
    
    Change-Id: Iad839177ef9b80c1dd0e87f3406bcf4cb018e6fa
    BUG: 1139984
    Signed-off-by: Venkatesh Somyajulu <vsomyaju>
    Reviewed-on: http://review.gluster.org/7973
    Reviewed-by: Shyamsundar Ranganathan <srangana>
    Tested-by: Gluster Build System <jenkins.com>
    Reviewed-by: Krutika Dhananjay <kdhananj>
    Reviewed-by: Vijay Bellur <vbellur>
    Reviewed-on: http://review.gluster.org/8670
    Reviewed-by: Kaleb KEITHLEY <kkeithle>


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