Bug 1341650
Summary: | conservative merge happening on a x3 volume for a deleted file | |||
---|---|---|---|---|
Product: | [Community] GlusterFS | Reporter: | Ravishankar N <ravishankar> | |
Component: | replicate | Assignee: | Ravishankar N <ravishankar> | |
Status: | CLOSED CURRENTRELEASE | QA Contact: | ||
Severity: | urgent | Docs Contact: | ||
Priority: | unspecified | |||
Version: | mainline | CC: | bugs, nchilaka | |
Target Milestone: | --- | Keywords: | Triaged | |
Target Release: | --- | |||
Hardware: | Unspecified | |||
OS: | Unspecified | |||
Whiteboard: | ||||
Fixed In Version: | glusterfs-3.9.0 | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | ||
Clone Of: | 1341190 | |||
: | 1344559 1344561 (view as bug list) | Environment: | ||
Last Closed: | 2017-03-27 18:12:32 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: | 1341190 | |||
Bug Blocks: | 1344559, 1344561 |
Description
Ravishankar N
2016-06-01 12:25:35 UTC
REVIEW: http://review.gluster.org/14604 (afr: Consider ENOSPC and EDQUOT as symmetric errors) posted (#1) for review on master by Ravishankar N (ravishankar) REVIEW: http://review.gluster.org/14604 (afr: Consider ENOSPC and EDQUOT as symmetric errors) posted (#2) for review on master by Ravishankar N (ravishankar) REVIEW: http://review.gluster.org/14604 (afr: Consider ENOSPC and EDQUOT as symmetric errors) posted (#3) for review on master by Ravishankar N (ravishankar) REVIEW: http://review.gluster.org/14604 (afr: Consider ENOSPC and EDQUOT as symmetric errors) posted (#4) for review on master by Ravishankar N (ravishankar) COMMIT: http://review.gluster.org/14604 committed in master by Atin Mukherjee (amukherj) ------ commit 8c717491413295a7045ebf9a2b1df630b7cbac76 Author: Ravishankar N <ravishankar> Date: Wed Jun 1 17:57:41 2016 +0530 afr: Consider ENOSPC and EDQUOT as symmetric errors Problem: Since commit 8eaa3506ead4f11b81b146a9e56575c79f3aad7b, in replica 3, if a brick is down and a create fails on the other 2 brick with EDQUOT, we consider it an unsymmetric error and hence do not do post-op. So the dirty xattr remains set on the parent dir, leading to conservative merges during heal when all bricks are up. i.e. a file deleted on the source might re-appear after heal. Fix: Consider ENOSPC and EDQUOT as symmetric errors since there is no possibility of partial inode or entry modification operations possible when quota is enabled. IOW, if quota reports EDQUOT, the no. of bytes written (or not written) will be the same on all bricks of the replica. Likewise, the entry operation (create, mkdir...) will either succeed or not succeed on all bricks. Change-Id: Iacb1108e9ef4a918e36242fb4a957455133744e9 BUG: 1341650 Signed-off-by: Ravishankar N <ravishankar> Reviewed-on: http://review.gluster.org/14604 Smoke: Gluster Build System <jenkins.com> NetBSD-regression: NetBSD Build System <jenkins.org> CentOS-regression: Gluster Build System <jenkins.com> Reviewed-by: Atin Mukherjee <amukherj> Tested-by: Atin Mukherjee <amukherj> 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.9.0, please open a new bug report. glusterfs-3.9.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://lists.gluster.org/pipermail/gluster-users/2016-November/029281.html [2] https://www.gluster.org/pipermail/gluster-users/ |