Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1035576

Summary: quota: list shows different result on different nodes
Product: [Community] GlusterFS Reporter: Pranith Kumar K <pkarampu>
Component: quotaAssignee: Pranith Kumar K <pkarampu>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: high Docs Contact:
Priority: medium    
Version: mainlineCC: gluster-bugs, grajaiya, kparthas, pkarampu, rgowdapp, rhs-bugs, saujain, spandura, vagarwal, vbellur
Target Milestone: ---Keywords: ZStream
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: glusterfs-3.5.0 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 998914 Environment:
Last Closed: 2014-04-17 11:51:28 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 998914    
Bug Blocks:    

Comment 1 Anand Avati 2013-11-28 08:27:40 UTC
REVIEW: http://review.gluster.org/6374 (features/marker: Filter quota xattrs on file as well) posted (#1) for review on master by Pranith Kumar Karampuri (pkarampu)

Comment 2 Anand Avati 2013-12-02 05:24:05 UTC
COMMIT: http://review.gluster.org/6374 committed in master by Vijay Bellur (vbellur) 
------
commit a36c812756405999d79fd29c329fef73f6b7b778
Author: Pranith Kumar K <pkarampu>
Date:   Mon Oct 7 16:00:59 2013 +0530

    features/marker: Filter quota xattrs on file as well
    
    Problem:
    Quota contributions of a file/directory are tracked by quota
    xlator using xattrs on the file. Quota allows these xattrs to be
    healed as part of metadata self-heal. This leads to
    wrong quota calculations on this brick after self-heal because
    quota xattrs don't represent the actual contributions on the
    brick anymore.
    
    Fix:
    Don't let self-heal of this xattr happen as part of self-heal
    by filtering quota xattrs on file in listxattr.
    
    Change-Id: Iea68a116595ba271e58c6fdcc3dd21c7bb55ebb3
    BUG: 1035576
    Signed-off-by: Pranith Kumar K <pkarampu>
    Reviewed-on: http://review.gluster.org/6374
    Tested-by: Gluster Build System <jenkins.com>
    Reviewed-by: Vijay Bellur <vbellur>

Comment 3 Anand Avati 2014-01-27 10:31:59 UTC
REVIEW: http://review.gluster.org/6812 (features/marker: Filter quota xattrs on file as well) posted (#1) for review on release-3.5 by Pranith Kumar Karampuri (pkarampu)

Comment 4 Anand Avati 2014-01-29 12:23:31 UTC
REVIEW: http://review.gluster.org/6812 (features/marker: Filter quota xattrs on file as well) posted (#2) for review on release-3.5 by Pranith Kumar Karampuri (pkarampu)

Comment 5 Anand Avati 2014-02-03 04:26:32 UTC
COMMIT: http://review.gluster.org/6812 committed in release-3.5 by Vijay Bellur (vbellur) 
------
commit 52e98957da62168adcdc33782b027fa35b9d283e
Author: Pranith Kumar K <pkarampu>
Date:   Mon Oct 7 16:00:59 2013 +0530

    features/marker: Filter quota xattrs on file as well
    
    Problem:
    Quota contributions of a file/directory are tracked by quota
    xlator using xattrs on the file. Quota allows these xattrs to be
    healed as part of metadata self-heal. This leads to
    wrong quota calculations on this brick after self-heal because
    quota xattrs don't represent the actual contributions on the
    brick anymore.
    
    Fix:
    Don't let self-heal of this xattr happen as part of self-heal
    by filtering quota xattrs on file in listxattr.
    
    Change-Id: Iea68a116595ba271e58c6fdcc3dd21c7bb55ebb3
    BUG: 1035576
    Signed-off-by: Pranith Kumar K <pkarampu>
    Reviewed-on: http://review.gluster.org/6374
    Tested-by: Gluster Build System <jenkins.com>
    Reviewed-by: Vijay Bellur <vbellur>
    Reviewed-on: http://review.gluster.org/6812

Comment 6 Niels de Vos 2014-04-17 11:51:28 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