Bug 1054199 - gfid-acces not functional during creates under sub-directories.
Summary: gfid-acces not functional during creates under sub-directories.
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: GlusterFS
Classification: Community
Component: geo-replication
Version: mainline
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Ajeet Jha
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-01-16 12:49 UTC by Ajeet Jha
Modified: 2015-02-22 23:01 UTC (History)
3 users (show)

Fixed In Version: glusterfs-3.6.0beta1
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-11-11 08:27:07 UTC
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)

Description Ajeet Jha 2014-01-16 12:49:51 UTC
Description of problem:
File or Directory creation fails under a sub-directory at slave's end in a geo-replication session.

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


How reproducible:
Very often.

Steps to Reproduce:
1. create a geo-rep session.
2. create files/dir under any non-root folder

Actual results: The new entries not visible at slaves's end.


Expected results: The new entries should have synced.


Additional info:

Comment 1 Anand Avati 2014-01-16 13:00:58 UTC
REVIEW: http://review.gluster.org/6723 (features/gfid-access: populating inode during virtual_lookup_cbk.) posted (#1) for review on master by ajeet jha (ajha)

Comment 2 Anand Avati 2014-01-23 18:51:25 UTC
REVIEW: http://review.gluster.org/6520 (gfid-access: fix the issue of entry creation with wrong gfid) posted (#2) for review on master by Anand Avati (avati)

Comment 3 Anand Avati 2014-01-23 18:52:01 UTC
COMMIT: http://review.gluster.org/6520 committed in master by Anand Avati (avati) 
------
commit 60b5f5cc2cb5c23ba852ad20a84328338d0546ae
Author: Amar Tumballi <amarts>
Date:   Mon Dec 16 23:55:47 2013 +0530

    gfid-access: fix the issue of entry creation with wrong gfid
    
    * dict_set was happening with a string instead of 'uuid_t' causing
      entry creations to happen with wrong gfid
    
    * revalidate was causing excessive ESTALE logs as lookup was
      happening on '.gfid/' path itself causing server to become clueless
    
    Change-Id: I3b76ce7fdec9c2ff785be21f506f859f489f80f0
    BUG: 1054199
    Signed-off-by: Amar Tumballi <amarts>
    Reviewed-on: http://review.gluster.org/6520
    Reviewed-by: Anand Avati <avati>
    Tested-by: Anand Avati <avati>

Comment 4 Anand Avati 2014-01-27 05:55:10 UTC
REVIEW: http://review.gluster.org/6723 (features/gfid-access: populating inode during virtual_lookup_cbk.) posted (#2) for review on master by ajeet jha (ajha)

Comment 5 Anand Avati 2014-01-27 05:55:23 UTC
REVIEW: http://review.gluster.org/6797 (mount/fuse: adding a setxattr filter pass for geo-rep create.) posted (#1) for review on master by ajeet jha (ajha)

Comment 6 Anand Avati 2014-01-27 09:51:41 UTC
REVIEW: http://review.gluster.org/6805 (gfid-access: fix the issue of entry creation with wrong gfid) posted (#1) for review on release-3.5 by Kotresh HR (khiremat)

Comment 7 Anand Avati 2014-01-27 09:51:57 UTC
REVIEW: http://review.gluster.org/6806 (features/gfid-access: populating inode during virtual_lookup_cbk.) posted (#1) for review on release-3.5 by Kotresh HR (khiremat)

Comment 8 Anand Avati 2014-01-27 10:08:29 UTC
REVIEW: http://review.gluster.org/6811 (mount/fuse: adding a setxattr filter pass for geo-rep create.) posted (#1) for review on release-3.5 by ajeet jha (ajha)

Comment 9 Anand Avati 2014-01-27 15:50:59 UTC
COMMIT: http://review.gluster.org/6805 committed in release-3.5 by Vijay Bellur (vbellur) 
------
commit eb9a5f3d20bac697d1f1fca50dd4d0b98179e9fb
Author: Amar Tumballi <amarts>
Date:   Mon Dec 16 23:55:47 2013 +0530

    gfid-access: fix the issue of entry creation with wrong gfid
    
    * dict_set was happening with a string instead of 'uuid_t' causing
      entry creations to happen with wrong gfid
    
    * revalidate was causing excessive ESTALE logs as lookup was
      happening on '.gfid/' path itself causing server to become clueless
    
    Change-Id: I3b76ce7fdec9c2ff785be21f506f859f489f80f0
    BUG: 1054199
    Signed-off-by: Amar Tumballi <amarts>
    Reviewed-on: http://review.gluster.org/6520
    Reviewed-by: Anand Avati <avati>
    Tested-by: Anand Avati <avati>
    Reviewed-on: http://review.gluster.org/6805
    Tested-by: Gluster Build System <jenkins.com>
    Reviewed-by: Vijay Bellur <vbellur>

Comment 10 Anand Avati 2014-01-27 15:51:40 UTC
COMMIT: http://review.gluster.org/6806 committed in release-3.5 by Vijay Bellur (vbellur) 
------
commit 4e8b968de0a102b538c3436f216913686f0e07ea
Author: Ajeet Jha <ajha>
Date:   Thu Jan 16 17:25:49 2014 +0530

    features/gfid-access: populating inode during virtual_lookup_cbk.
    
    Setting appropriate ia_type and gfid for the inode, obtained during
    virtual_lookup_cbk of a directory by doing an "inode_link".
    
    Change-Id: I9582570c82e70ff5f1d4e441f9e9868ef82e9dc6
    BUG: 1054199
    Signed-off-by: Ajeet Jha <ajha>
    Reviewed-on: http://review.gluster.org/6806
    Tested-by: Gluster Build System <jenkins.com>
    Reviewed-by: Vijay Bellur <vbellur>

Comment 11 Anand Avati 2014-01-27 17:45:11 UTC
COMMIT: http://review.gluster.org/6811 committed in release-3.5 by Vijay Bellur (vbellur) 
------
commit a338c4fbc43be7480fdfe7c2e762a3f76095731e
Author: Ajeet Jha <ajha>
Date:   Fri Jan 24 15:48:32 2014 +0530

    mount/fuse: adding a setxattr filter pass for geo-rep create.
    
    Adding filter pass for setxattr when key is "glusterfs.gfid.newfile".
    This was blocking creates at slave volume.
    
    Change-Id: I61455abd8688c52ac6894b5a04ba050076117ea3
    BUG: 1054199
    Signed-off-by: Ajeet Jha <ajha>
    Reviewed-on: http://review.gluster.org/6811
    Tested-by: Gluster Build System <jenkins.com>
    Reviewed-by: Vijay Bellur <vbellur>

Comment 12 Anand Avati 2014-01-28 10:07:22 UTC
COMMIT: http://review.gluster.org/6723 committed in master by Vijay Bellur (vbellur) 
------
commit 2ef4e5a9913508bc7e371918a28adb3eb0eadbe4
Author: Ajeet Jha <ajha>
Date:   Thu Jan 16 17:25:49 2014 +0530

    features/gfid-access: populating inode during virtual_lookup_cbk.
    
    Setting appropriate ia_type and gfid for the inode, obtained during
    virtual_lookup_cbk of a directory by doing an "inode_link".
    
    Change-Id: I9582570c82e70ff5f1d4e441f9e9868ef82e9dc6
    BUG: 1054199
    Signed-off-by: Ajeet Jha <ajha>
    Reviewed-on: http://review.gluster.org/6723
    Tested-by: Gluster Build System <jenkins.com>
    Reviewed-by: Amar Tumballi <amarts>
    Reviewed-by: Vijay Bellur <vbellur>

Comment 13 Anand Avati 2014-01-28 10:07:36 UTC
COMMIT: http://review.gluster.org/6797 committed in master by Vijay Bellur (vbellur) 
------
commit 6dfe01d7e726675913e98dc65c6c7406e5060e15
Author: Ajeet Jha <ajha>
Date:   Fri Jan 24 15:48:32 2014 +0530

    mount/fuse: adding a setxattr filter pass for geo-rep create.
    
    Adding filter pass for setxattr when key is "glusterfs.gfid.newfile".
    This was blocking creates at slave volume.
    
    Change-Id: I61455abd8688c52ac6894b5a04ba050076117ea3
    BUG: 1054199
    Signed-off-by: Ajeet Jha <ajha>
    Reviewed-on: http://review.gluster.org/6797
    Reviewed-by: Venky Shankar <vshankar>
    Tested-by: Gluster Build System <jenkins.com>
    Reviewed-by: Amar Tumballi <amarts>

Comment 14 Niels de Vos 2014-09-22 12:35:08 UTC
A beta release for GlusterFS 3.6.0 has been released. Please verify if the release solves this bug report for you. In case the glusterfs-3.6.0beta1 release does not have a resolution for this issue, leave a comment in this bug and move the status to ASSIGNED. If this release fixes the problem for you, leave a note and change the status to VERIFIED.

Packages for several distributions should become available in the near future. Keep an eye on the Gluster Users mailinglist [2] and the update (possibly an "updates-testing" repository) infrastructure for your distribution.

[1] http://supercolony.gluster.org/pipermail/gluster-users/2014-September/018836.html
[2] http://supercolony.gluster.org/pipermail/gluster-users/

Comment 15 Niels de Vos 2014-11-11 08:27:07 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.6.1, please reopen this bug report.

glusterfs-3.6.1 has been announced [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://supercolony.gluster.org/pipermail/gluster-users/2014-November/019410.html
[2] http://supercolony.gluster.org/mailman/listinfo/gluster-users


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