Bug 1406224
Summary: | VM pauses due to storage I/O error, when one of the data brick is down with arbiter/replica volume | |||
---|---|---|---|---|
Product: | [Community] GlusterFS | Reporter: | Ravishankar N <ravishankar> | |
Component: | replicate | Assignee: | Ravishankar N <ravishankar> | |
Status: | CLOSED CURRENTRELEASE | QA Contact: | ||
Severity: | unspecified | Docs Contact: | ||
Priority: | unspecified | |||
Version: | mainline | CC: | bugs | |
Target Milestone: | --- | |||
Target Release: | --- | |||
Hardware: | Unspecified | |||
OS: | Unspecified | |||
Whiteboard: | ||||
Fixed In Version: | glusterfs-3.10.0 | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | ||
Clone Of: | 1404982 | |||
: | 1408171 (view as bug list) | Environment: | ||
Last Closed: | 2017-03-06 17:40:20 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: | 1404982 | |||
Bug Blocks: | 1408171 |
Description
Ravishankar N
2016-12-20 01:28:56 UTC
Before http://review.gluster.org/#/c/15673/, after inode refresh, we failed read txns in case of EIO or event_generation being zero. For write transactions, the check was only for EIO. 15673 re-factored the code to fail both read and write when event_generation=0. This seems to have caused a regression as explained in the description above. While we could restore the above behaviour, it seems we don't need to check event_gen value for read transactions as well because it could very well happen that the event_gen could be set to zero after we checked (post inode refresh) for it to be non zero but just before we did a stack wind for that read txn. Send a patch to see if this breaks any upstream regression test. REVIEW: http://review.gluster.org/16205 (afr: Ignore event_generation checks post inode refresh) posted (#1) for review on master by Ravishankar N (ravishankar) REVIEW: http://review.gluster.org/16205 (afr: Ignore event_generation checks post inode refresh) posted (#2) for review on master by Ravishankar N (ravishankar) REVIEW: http://review.gluster.org/16205 (afr: Ignore event_generation checks post inode refresh) posted (#3) for review on master by Ravishankar N (ravishankar) REVIEW: http://review.gluster.org/16205 (afr: Ignore event_generation checks post inode refresh for write txns) posted (#4) for review on master by Ravishankar N (ravishankar) COMMIT: http://review.gluster.org/16205 committed in master by Pranith Kumar Karampuri (pkarampu) ------ commit 7ee998b9041d594d93a4e2ef369892c185e80def Author: Ravishankar N <ravishankar> Date: Tue Dec 20 07:05:02 2016 +0530 afr: Ignore event_generation checks post inode refresh for write txns Before http://review.gluster.org/#/c/15673/, after inode refresh, we failed read txns in case of EIO or event_generation being zero. For write transactions, the check was only for EIO. 15673 re-factored the code to fail both read and write when event_generation=0. This seems to have caused a regression as explained in the BZ. This patch restores that behaviour in afr_txn_refresh_done(). Change-Id: Ib8e116506badce6f58b55827dbe403d95069d744 BUG: 1406224 Signed-off-by: Ravishankar N <ravishankar> Reviewed-on: http://review.gluster.org/16205 Reviewed-by: Pranith Kumar Karampuri <pkarampu> Smoke: Gluster Build System <jenkins.org> CentOS-regression: Gluster Build System <jenkins.org> NetBSD-regression: NetBSD Build System <jenkins.org> 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.10.0, please open a new bug report. glusterfs-3.10.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/2017-February/030119.html [2] https://www.gluster.org/pipermail/gluster-users/ |