Bug 1112158
Summary: | gluster volume heal full does not heal data and files inaccessible from mount point | |||
---|---|---|---|---|
Product: | [Community] GlusterFS | Reporter: | Ravishankar N <ravishankar> | |
Component: | replicate | Assignee: | Ravishankar N <ravishankar> | |
Status: | CLOSED WONTFIX | QA Contact: | ||
Severity: | unspecified | Docs Contact: | ||
Priority: | unspecified | |||
Version: | mainline | CC: | bugs, jbyers, joe, sasundar | |
Target Milestone: | --- | |||
Target Release: | --- | |||
Hardware: | Unspecified | |||
OS: | Unspecified | |||
Whiteboard: | ||||
Fixed In Version: | Doc Type: | Bug Fix | ||
Doc Text: | Story Points: | --- | ||
Clone Of: | ||||
: | 1240658 (view as bug list) | Environment: | ||
Last Closed: | 2018-08-29 03:53:30 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: | 1240658 |
Description
Ravishankar N
2014-06-23 09:01:14 UTC
The repro steps mentioned in the bug description is not accurate as the brick2 was not killed/restarted. The correct steps would be: 1. Create 1x2 replica on 2 nodes, fuse mount it. 2. mkdir -p /fuse_mnt/dir1/dir2 3. kill one brick process (say brick2) 3. rm -rf /brick2/* 4. rm -rf /brick2/.glusterfs 5. restart brick2 6. gluster v heal <volname> full During multiple trial runs, it is observed that the heal full is not happening on the node having the highest UUID (i.e if brick2's node has highes UUID, then data is not healed to it). Note: Since full heals are done in replace-brick or increasing the replica count scenarios. For replace-brick, http://review.gluster.org/#/c/10076/ and http://review.gluster.org/#/c/10448/ should fix the issue. The patches mark the replaced brick as needing heal via AFR changelog xattrs. This should cause the self-heal daemon to automatically trigger heals without the need to run the `heal <volname> full` command. We would need to do a similar fix for replica count increase (add-brick command) as well. Note: Auto healing of files during add-brick is being addressed in http://review.gluster.org/#/q/topic:bug-1276203 Lot of time since no activity on this bug. We have either fixed it already or it is mostly not critical anymore! Please re-open the bug if the issue is burning for you, or you want to take the bug to closure with fixes. |