Bug 1283566

Summary: qupta/marker: backward compatibility with quota xattr vesrioning
Product: [Red Hat Storage] Red Hat Gluster Storage Reporter: Vijaikumar Mallikarjuna <vmallika>
Component: quotaAssignee: Vijaikumar Mallikarjuna <vmallika>
Status: CLOSED ERRATA QA Contact: Anil Shah <ashah>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rhgs-3.1CC: amainkar, ashah, rcyriac, rgowdapp, rhs-bugs, sankarshan, smohan, storage-qa-internal
Target Milestone: ---Keywords: ZStream
Target Release: RHGS 3.1.2   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: glusterfs-3.7.5-7 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1283567 (view as bug list) Environment:
Last Closed: 2016-03-01 05:56: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:    
Bug Blocks: 1260783, 1283567, 1283568    

Description Vijaikumar Mallikarjuna 2015-11-19 10:20:35 UTC
quota-version features is implemented for 3.7.6
please see below patch for more details:
http://review.gluster.org/#/c/12386

Problem is when quota is already enabled,
we suffix 0 to contri xattr key.

This can cause backward compatibility issues when upgraded from 3.7.5 to 3.7.6 and can corrupt accounting information

Comment 2 Vijaikumar Mallikarjuna 2015-11-19 10:39:07 UTC
upstream patch: http://review.gluster.org/#/c/12660
release-3.7 patch: http://review.gluster.org/#/c/12661/

Comment 4 Vijaikumar Mallikarjuna 2015-11-24 06:28:05 UTC
downstream patch: https://code.engineering.redhat.com/gerrit/#/c/62064/

Comment 5 Anil Shah 2015-12-15 11:14:08 UTC
Installed build glusterfs-3.7.5-5.el7rhgs.x86_64 .
Created volume , enabled quota and limit-usage.
Created some data. Checked quota list.

Updated system to build glusterfs-3.7.5-11.el7rhgs.x86_64.
Quota list displayed soft and hard limit same as before upgrade.

Hence marking this bug verified on build glusterfs-3.7.5-11.el7rhgs.x86_64.

Comment 7 errata-xmlrpc 2016-03-01 05:56:19 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