Bug 1272411

Summary: quota: set quota version for files/directories
Product: [Community] GlusterFS Reporter: Vijaikumar Mallikarjuna <vmallika>
Component: quotaAssignee: Manikandan <mselvaga>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: mainlineCC: bugs, byarlaga, sankarshan, smohan, storage-qa-internal
Target Milestone: ---Keywords: ZStream
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: glusterfs-3.8rc2 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 1265200
: 1277080 (view as bug list) Environment:
Last Closed: 2016-06-16 13:40:19 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: 1265200    
Bug Blocks: 1277080    

Comment 1 Vijay Bellur 2015-10-19 08:25:47 UTC
REVIEW: http://review.gluster.org/12386 (quota: add version to quota xattrs) posted (#1) for review on master by Vijaikumar Mallikarjuna (vmallika)

Comment 2 Vijay Bellur 2015-10-19 13:30:33 UTC
REVIEW: http://review.gluster.org/12386 (quota: add version to quota xattrs) posted (#2) for review on master by Vijaikumar Mallikarjuna (vmallika)

Comment 3 Vijay Bellur 2015-10-20 05:52:56 UTC
REVIEW: http://review.gluster.org/12386 (quota: add version to quota xattrs) posted (#3) for review on master by Vijaikumar Mallikarjuna (vmallika)

Comment 4 Vijay Bellur 2015-10-21 04:33:06 UTC
REVIEW: http://review.gluster.org/12386 (quota: add version to quota xattrs) posted (#4) for review on master by Vijaikumar Mallikarjuna (vmallika)

Comment 5 Vijay Bellur 2015-11-02 08:54:44 UTC
COMMIT: http://review.gluster.org/12386 committed in master by Raghavendra G (rgowdapp) 
------
commit d90b87eed2fa68df5afcebbc54747e96f6d76cfb
Author: vmallika <vmallika>
Date:   Thu Oct 15 12:41:13 2015 +0530

    quota: add version to quota xattrs
    
    When a quota is disable and the clean-up process terminated
    without completely cleaning-up the quota xattrs.
    Now when quota is enabled again, this can mess-up the accounting
    
    A version number is suffixed for all quota xattrs and this version
    number is specific to marker xaltor, i.e when quota xattrs are
    requested by quotad/client marker will remove the version suffix in the
    key before sending the response
    
    Change-Id: I1ca2c11460645edba0f6b68db70d476d8d26e1eb
    BUG: 1272411
    Signed-off-by: vmallika <vmallika>
    Reviewed-on: http://review.gluster.org/12386
    Tested-by: NetBSD Build System <jenkins.org>
    Reviewed-by: Krishnan Parthasarathi <kparthas>
    Tested-by: Gluster Build System <jenkins.com>
    Reviewed-by: Manikandan Selvaganesh <mselvaga>
    Reviewed-by: Raghavendra G <rgowdapp>

Comment 8 Niels de Vos 2016-06-16 13:40: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.8.0, please open a new bug report.

glusterfs-3.8.0 has been announced on the Gluster mailinglists [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://blog.gluster.org/2016/06/glusterfs-3-8-released/
[2] http://thread.gmane.org/gmane.comp.file-systems.gluster.user