Bug 1233608
Summary: | `gluster volume heal <vol-name> split-brain' does not heal if data/metadata/entry self-heal options are turned off | |||
---|---|---|---|---|
Product: | [Red Hat Storage] Red Hat Gluster Storage | Reporter: | Shruti Sampat <ssampat> | |
Component: | replicate | Assignee: | Ravishankar N <ravishankar> | |
Status: | CLOSED DUPLICATE | QA Contact: | storage-qa-internal <storage-qa-internal> | |
Severity: | high | Docs Contact: | ||
Priority: | unspecified | |||
Version: | rhgs-3.1 | CC: | asriram, ravishankar, rcyriac, rhs-bugs, sankarshan | |
Target Milestone: | --- | Keywords: | ZStream | |
Target Release: | --- | |||
Hardware: | Unspecified | |||
OS: | Unspecified | |||
Whiteboard: | ||||
Fixed In Version: | Doc Type: | Known Issue | ||
Doc Text: |
When cluster.data-self-heal, cluster.metadata-self-heal and cluster.entry-self-heal are set to off (through volume set commands), the Gluster CLI to resolve split-brain fails with 'File not in split brain' message (even though the file is in split brain).
Workaround:
Do not turn off the heal options when you run the split-brain resolution Gluster CLI commands.
|
Story Points: | --- | |
Clone Of: | ||||
: | 1234054 (view as bug list) | Environment: | ||
Last Closed: | 2016-12-16 04:44:39 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: | 1216951, 1223636, 1234054, 1405126, 1405130 |
Description
Shruti Sampat
2015-06-19 09:29:50 UTC
Heal also fails when trying to resolve split-brain from the client by setting extended attributes, when the data/metadata self-heal options are turned off. With the options turned on, heal works as expected. This needs to be fixed too as part of this BZ. The bug in the description needs to be fixed. After the initial discussion with Shruti, I was giving some more thought to the expected behaviour for comment #1 It seems to me that if the client side heal options are disabled via volume set, then split-brain healing from mount (via setfattr interface) should also honour that. i.e. it should not heal the file. If a particular client wants to override the heal options which are disabled on an entire volume basis, it can always mount the volume with the heal options enabled as fuse mount options. ( --xlator-option *replicate*.data-self-heal=on etc.) LGTM. Closing this as a duplicate of 1403840 since it has all acks and the problem/steps to verify the fix are the same. *** This bug has been marked as a duplicate of bug 1403840 *** |