Bug 830134
Summary: | NFS Mount doesn't report "I/0 Error" when a file is in split-brain state | |||
---|---|---|---|---|
Product: | [Community] GlusterFS | Reporter: | Shwetha Panduranga <shwetha.h.panduranga> | |
Component: | replicate | Assignee: | Jeff Darcy <jdarcy> | |
Status: | CLOSED CURRENTRELEASE | QA Contact: | ||
Severity: | urgent | Docs Contact: | ||
Priority: | unspecified | |||
Version: | 3.3-beta | CC: | gluster-bugs, jdarcy, rfortier | |
Target Milestone: | --- | Keywords: | Triaged | |
Target Release: | --- | |||
Hardware: | Unspecified | |||
OS: | Unspecified | |||
Whiteboard: | ||||
Fixed In Version: | glusterfs-3.4.0 | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | ||
Clone Of: | ||||
: | 853682 (view as bug list) | Environment: | ||
Last Closed: | 2013-07-24 17:55:46 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: | 853682, 855913, 858497 |
Description
Shwetha Panduranga
2012-06-08 10:31:32 UTC
Pranith, replicate was not returning EIO in case like this (note that it is anonymous fd read). Can you take a look? Nfs does not perform lookups. Afr depends on lookup fop to realize that there is a split-brain and report it, so with NFS no EIOs are seen this is a known issue. Submitted http://review.gluster.org/4050 to bump mtime/ctime on getattr requests (which NFS uses to check cache freshness) and force a new lookup. When the self-heal done as part of the lookup fails due to split brain or GFID mismatch, the NFS client gets EIO back. CHANGE: http://review.gluster.org/4058 (nfs: do lookup on getattr after brick-status change) merged in master by Vijay Bellur (vbellur) *** Bug 830121 has been marked as a duplicate of this bug. *** |