Bug 982913 - Dist-geo-rep: fail to sync files, status is 'faulty' an log gives warning '1 subvolumes down -- not fixing'
Summary: Dist-geo-rep: fail to sync files, status is 'faulty' an log gives warning '1 ...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: GlusterFS
Classification: Community
Component: distribute
Version: mainline
Hardware: x86_64
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Nagaprasad Sathyanarayana
QA Contact:
URL:
Whiteboard:
Depends On: 981708
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-07-10 06:34 UTC by shishir gowda
Modified: 2016-02-18 00:19 UTC (History)
8 users (show)

Fixed In Version: glusterfs-3.5.0
Doc Type: Bug Fix
Doc Text:
Clone Of: 981708
Environment:
Last Closed: 2014-04-17 11:43:19 UTC
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)

Comment 1 Anand Avati 2013-07-10 06:36:57 UTC
REVIEW: http://review.gluster.org/5302 (dht: fix dht_discover_cbk doing a wrong layout set.) posted (#2) for review on master by Shishir Gowda (sgowda)

Comment 2 Anand Avati 2013-07-17 09:17:40 UTC
REVIEW: http://review.gluster.org/5302 (dht: fix dht_discover_cbk doing a wrong layout set.) posted (#3) for review on master by Shishir Gowda (sgowda)

Comment 3 Anand Avati 2013-07-18 05:50:18 UTC
COMMIT: http://review.gluster.org/5302 committed in master by Anand Avati (avati) 
------
commit ad5ab1216066495589d73015f47183cc26f10eb6
Author: shishir gowda <sgowda>
Date:   Tue Jul 9 09:09:30 2013 +0530

    dht: fix dht_discover_cbk doing a wrong layout set.
    
    with the sequence of operations are like below, we have issues
    with current code (MP == mountpoint):
    T0,MP1# mkdir /abcd (Succeeds on hash_subvol)
    T1,MP2# mkdir /abcd (Gets EEXIST as dir exists in hash_subvol)
    T2,MP2# mkdir /.gfid/<abcd's gfid>/xyz (lookup happens on abcd's
            gfid, calls dht_discover)
    T3,MP1# (Completes mkdir(), goes to dir_selfheal to set the layouts).
    T4,MP2# (dht_discover_cbk gets success for lookup as the entry
            existed, as layout is not yet written, it says normalize
            done, found holes).
    T5,MP2# (as layout anomaly is not considered an issue in this patch,
            dht_layout_set happens on inode, with all xlators pointing
            to 0s)
    T6,MP1# (completes mkdir call, inode has proper layouts)
    T7,MP2# mkdir /.gfid/<abcd's gfid>/xyz fails with ENOENT
            (with log saying no subvol found for hash value of xyz.
    
    Porting Amar's fix from down-stream beta branch.
    
    Change-Id: Ibdc37ee614c96158a1330af19cad81a39bee2651
    BUG: 982913
    Original-author: Amar Tumballi <amarts>
    Signed-off-by: shishir gowda <sgowda>
    Reviewed-on: http://review.gluster.org/5302
    Reviewed-by: Amar Tumballi <amarts>
    Tested-by: Gluster Build System <jenkins.com>
    Reviewed-by: Anand Avati <avati>

Comment 6 Niels de Vos 2014-04-17 11:43:19 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.5.0, please reopen this bug report.

glusterfs-3.5.0 has been announced on the Gluster Developers mailinglist [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://thread.gmane.org/gmane.comp.file-systems.gluster.devel/6137
[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.