REVIEW: http://review.gluster.org/11264 (quota: fix double accounting with rename operation) posted (#1) for review on master by Vijaikumar Mallikarjuna (vmallika)
REVIEW: http://review.gluster.org/11264 (quota: fix double accounting with rename operation) posted (#2) for review on master by Vijaikumar Mallikarjuna (vmallika)
REVIEW: http://review.gluster.org/11264 (quota: fix double accounting with rename operation) posted (#4) for review on master by Sachin Pandit (spandit)
REVIEW: http://review.gluster.org/11264 (quota: fix double accounting with rename operation) posted (#5) for review on master by Vijaikumar Mallikarjuna (vmallika)
COMMIT: http://review.gluster.org/11264 committed in master by Vijay Bellur (vbellur) ------ commit 81972918a0b0252cfa7feefbb80182fa886a72f8 Author: vmallika <vmallika> Date: Wed Jun 17 10:33:13 2015 +0530 quota: fix double accounting with rename operation When a rename operation is performed, we are renaming the file first and performing remove-xattr when reducing the contri size from parents. This remove-xattr fails as the file is alreday renamed, this failure causes reduce-parent-size to abort resulting in double quota accounting This patch fixes the problem. We don't need to perform remove-xattr operation on a file when performing reduce-parent-size txn as this will be alreday done before starting reduce-parent-size txn Change-Id: If86e3dbb0233f6deaaa90bee72cb0ec1689c7325 BUG: 1232572 Signed-off-by: vmallika <vmallika> Reviewed-on: http://review.gluster.org/11264 Reviewed-by: Raghavendra G <rgowdapp> Tested-by: NetBSD Build System <jenkins.org>
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