Bug 1241153
Summary: | quota: marker accounting can get miscalculated after upgrade to 3.7 | |||
---|---|---|---|---|
Product: | [Community] GlusterFS | Reporter: | Vijaikumar Mallikarjuna <vmallika> | |
Component: | quota | Assignee: | Vijaikumar Mallikarjuna <vmallika> | |
Status: | CLOSED CURRENTRELEASE | QA Contact: | ||
Severity: | unspecified | Docs Contact: | ||
Priority: | unspecified | |||
Version: | mainline | CC: | bugs, gluster-bugs, smohan, storage-qa-internal | |
Target Milestone: | --- | Keywords: | Regression, Reopened | |
Target Release: | --- | |||
Hardware: | Unspecified | |||
OS: | Unspecified | |||
Whiteboard: | ||||
Fixed In Version: | glusterfs-3.8rc2 | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | ||
Clone Of: | 1241150 | |||
: | 1241831 (view as bug list) | Environment: | ||
Last Closed: | 2016-06-16 13:22:21 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: | 1241150 | |||
Bug Blocks: | 1241831 |
Comment 1
Anand Avati
2015-07-08 15:13:01 UTC
REVIEW: http://review.gluster.org/11583 (quota/marker: fix spurious failure afr-quota-xattr-mdata-heal.t) posted (#3) for review on master by Vijaikumar Mallikarjuna (vmallika) REVIEW: http://review.gluster.org/11583 (quota/marker: fix spurious failure afr-quota-xattr-mdata-heal.t) posted (#4) for review on master by Vijaikumar Mallikarjuna (vmallika) REVIEW: http://review.gluster.org/11583 (quota/marker: fix spurious failure afr-quota-xattr-mdata-heal.t) posted (#5) for review on master by Vijaikumar Mallikarjuna (vmallika) During quota-update process if inode info is present in size-xattr and missing in contri-xattrs, then in function '_mq_get_metadata', we set contri-size as zero (on error -2, which means usage info present, but inode info missing). With this we are calculating wrong delta and updating the same. COMMIT: http://review.gluster.org/11583 committed in master by Raghavendra G (rgowdapp) ------ commit c2cd3aeb0d88117f0929a733e9b05aa3e4d392ac Author: vmallika <vmallika> Date: Wed Jul 8 22:22:50 2015 +0530 quota/marker: fix spurious failure afr-quota-xattr-mdata-heal.t During quota-update process if inode info is present in size-xattr and missing in contri-xattrs, then in function '_mq_get_metadata', we set contri-size as zero (on error -2, which means usage info present, but inode info missing). With this we are calculating wrong delta and updating the same. With this patch we are ignoring errors if inode info in xattrs are missing Change-Id: I7940a0e299b8bb425b5b43746b1f13f775c7fb92 BUG: 1241153 Signed-off-by: vmallika <vmallika> Reviewed-on: http://review.gluster.org/11583 Reviewed-by: Raghavendra G <rgowdapp> Tested-by: Raghavendra G <rgowdapp> Fix for this BZ is already present in a GlusterFS release. You can find clone of this BZ, fixed in a GlusterFS release and closed. Hence closing this mainline BZ as well. 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 |