Bug 1141787 - Marking pending xattrs for new entry creations
Summary: Marking pending xattrs for new entry creations
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: GlusterFS
Classification: Community
Component: replicate
Version: 3.6.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Anuradha
QA Contact:
URL:
Whiteboard:
Depends On: 1130892
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-09-15 13:03 UTC by Anuradha
Modified: 2016-09-20 02:00 UTC (History)
3 users (show)

Fixed In Version: glusterfs-3.6.0beta1
Clone Of: 1130892
Environment:
Last Closed: 2014-11-11 08:38:51 UTC
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)

Description Anuradha 2014-09-15 13:03:38 UTC
+++ This bug was initially created as a clone of Bug #1130892 +++

Description of problem:
Pending changelogs (xattrs) are not being set on lookup of new entry creations.

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

How reproducible:
Often

Steps to Reproduce:
1. In a 1X2 replicate setup, create a dir tree like one/two/three
2. Simualate disk-replacement for one brick.
3. force start the volume
3. ls on "one", to trigger lookup

Actual results:
pending xattrs on dir "one" are not marked

Expected results:
pending xattrs on dir "one" should be marked leading to further self-heal of its children.

Additional info:

--- Additional comment from Anand Avati on 2014-08-27 07:09:05 EDT ---

REVIEW: http://review.gluster.org/8555 (cluster/afr : Mark pending changelog xattrs for new creations) posted (#1) for review on master by Anuradha Talur (atalur)

--- Additional comment from Anand Avati on 2014-09-01 09:51:08 EDT ---

REVIEW: http://review.gluster.org/8555 (cluster/afr : Mark pending changelog xattrs for new creations) posted (#2) for review on master by Anuradha Talur (atalur)

--- Additional comment from Anand Avati on 2014-09-02 06:26:31 EDT ---

REVIEW: http://review.gluster.org/8555 (cluster/afr : Mark pending changelog xattrs for new creations) posted (#3) for review on master by Anuradha Talur (atalur)

--- Additional comment from Anand Avati on 2014-09-02 09:12:24 EDT ---

REVIEW: http://review.gluster.org/8555 (cluster/afr : Mark pending changelog xattrs for new creations) posted (#4) for review on master by Anuradha Talur (atalur)

--- Additional comment from Anand Avati on 2014-09-03 09:38:56 EDT ---

REVIEW: http://review.gluster.org/8555 (cluster/afr : Mark pending changelog xattrs for new creations) posted (#5) for review on master by Anuradha Talur (atalur)

--- Additional comment from Anand Avati on 2014-09-03 09:40:49 EDT ---

REVIEW: http://review.gluster.org/8555 (cluster/afr : Mark pending changelog xattrs for new creations) posted (#6) for review on master by Anuradha Talur (atalur)

--- Additional comment from Anand Avati on 2014-09-03 13:30:31 EDT ---

COMMIT: http://review.gluster.org/8555 committed in master by Pranith Kumar Karampuri (pkarampu) 
------
commit 6064c220844e8c4963e22ec48c8f7da9da57fc2f
Author: Anuradha <atalur>
Date:   Wed Sep 3 19:04:02 2014 +0530

    cluster/afr : Mark pending changelog xattrs for new creations
    
    Based on type of file, set appropriate pending changelogs
    for new entries.
    
    Change-Id: Ifd124bf9bc54b996ce83ab9f39d03b3ccca7eb3c
    BUG: 1130892
    Signed-off-by: Anuradha <atalur>
    Reviewed-on: http://review.gluster.org/8555
    Tested-by: Gluster Build System <jenkins.com>
    Reviewed-by: Pranith Kumar Karampuri <pkarampu>
    Tested-by: Pranith Kumar Karampuri <pkarampu>

Comment 1 Anand Avati 2014-09-16 12:12:37 UTC
REVIEW: http://review.gluster.org/8748 (cluster/afr : Mark pending changelog xattrs for new creations) posted (#1) for review on release-3.6 by Anuradha Talur (atalur)

Comment 2 Anand Avati 2014-09-18 18:05:50 UTC
COMMIT: http://review.gluster.org/8748 committed in release-3.6 by Vijay Bellur (vbellur) 
------
commit acc0b3f93e74e914ee345e9e89619c8411596bdf
Author: Anuradha <atalur>
Date:   Wed Sep 3 19:04:02 2014 +0530

    cluster/afr : Mark pending changelog xattrs for new creations
    
            Backport of: http://review.gluster.org/8555
    
    Based on type of file, set appropriate pending changelogs
    for new entries.
    
    Change-Id: Icf9af866fe9a9e511210e8ad097e968e2307d8ee
    BUG: 1141787
    Reviewed-on: http://review.gluster.org/8555
    Tested-by: Gluster Build System <jenkins.com>
    Reviewed-by: Pranith Kumar Karampuri <pkarampu>
    Tested-by: Pranith Kumar Karampuri <pkarampu>
    Signed-off-by: Anuradha <atalur>
    Reviewed-on: http://review.gluster.org/8748
    Reviewed-by: Vijay Bellur <vbellur>

Comment 3 Niels de Vos 2014-09-22 12:46:13 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 4 Niels de Vos 2014-11-11 08:38:51 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.