Bug 1243797 - quota/marker: dir count in inode quota is not atomic
Summary: quota/marker: dir count in inode quota is not atomic
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat Storage
Component: quota
Version: rhgs-3.1
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: RHGS 3.1.2
Assignee: Vijaikumar Mallikarjuna
QA Contact: Anil Shah
URL:
Whiteboard:
Depends On:
Blocks: 1243798 1260783 1270769
TreeView+ depends on / blocked
 
Reported: 2015-07-16 10:46 UTC by Vijaikumar Mallikarjuna
Modified: 2016-09-17 12:35 UTC (History)
10 users (show)

Fixed In Version: glusterfs-3.7.5-5
Doc Type: Bug Fix
Doc Text:
When quota is enabled on a pre-existing data, quota-crawl process starts healing the xattrs. During this process when a write operation is performed when healing is not complete, directory count can be missed on a directory. This causes an error in the 'quota list-objects'. With this release, the issue is fixed.
Clone Of:
: 1243798 (view as bug list)
Environment:
Last Closed: 2016-03-01 05:29:45 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2016:0193 0 normal SHIPPED_LIVE Red Hat Gluster Storage 3.1 update 2 2016-03-01 10:20:36 UTC

Description Vijaikumar Mallikarjuna 2015-07-16 10:46:08 UTC
Consider below scenario:

Quota enabled on pre-existing data
Now quota-crawl process will start healing xattrs
Now if write is performed where healing is not complete, there is a possibility that 'update txn' is started before 'create xattr txn', in this case dir count can be missed on a dir where quota size xattr is not yet created.

Comment 4 Vijaikumar Mallikarjuna 2015-08-18 06:46:45 UTC
Patch submitted upstream: http://review.gluster.org/#/c/11694/

Comment 8 Vijaikumar Mallikarjuna 2015-10-15 10:08:22 UTC
upstream patch: http://review.gluster.org/#/c/11694
release-3.7 patch: http://review.gluster.org/#/c/12341/

Comment 10 Anil Shah 2015-12-31 09:49:23 UTC
Since this was internal behaviour change. Executed Automation test cases against this bug to verify on build glusterfs-3.7.5-13.el7rhgs.x86_64.
https://beaker.engineering.redhat.com/jobs/1180905

Bug verified on build glusterfs-3.7.5-13.el7rhgs.x86_64.

Comment 12 errata-xmlrpc 2016-03-01 05:29:45 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHBA-2016-0193.html


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