Bug 1365455
Summary: | [AFR]: Files not available in the mount point after converting Distributed volume type to Replicated one. | ||
---|---|---|---|
Product: | [Community] GlusterFS | Reporter: | Mohit Agrawal <moagrawa> |
Component: | replicate | Assignee: | Mohit Agrawal <moagrawa> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | |
Severity: | urgent | Docs Contact: | |
Priority: | high | ||
Version: | mainline | CC: | amukherj, bsrirama, bugs, moagrawa, mvignesh, nchilaka, ravishankar, rcyriac, rhinduja, rhs-bugs, sabose |
Target Milestone: | --- | Keywords: | Triaged, ZStream |
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | glusterfs-3.9.0 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | 1248998 | Environment: | |
Last Closed: | 2017-03-27 18:18:24 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: | 1248998, 1276203, 1320020, 1366440, 1366444 | ||
Bug Blocks: | 1240658 |
Description
Mohit Agrawal
2016-08-09 10:16:04 UTC
REVIEW: http://review.gluster.org/15118 (glusterd: Convert volume to replica after adding brick self heal is not triggered) posted (#1) for review on master by MOHIT AGRAWAL (moagrawa) REVIEW: http://review.gluster.org/15118 (glusterd: Convert volume to replica after adding brick self heal is not triggered) posted (#2) for review on master by MOHIT AGRAWAL (moagrawa) REVIEW: http://review.gluster.org/15118 (glusterd: Convert volume to replica after adding brick self heal is not triggered) posted (#3) for review on master by MOHIT AGRAWAL (moagrawa) REVIEW: http://review.gluster.org/15118 (glusterd: Convert volume to replica after adding brick self heal is not triggered) posted (#4) for review on master by MOHIT AGRAWAL (moagrawa) REVIEW: http://review.gluster.org/15118 (glusterd: Convert volume to replica after adding brick self heal is not triggered) posted (#5) for review on master by MOHIT AGRAWAL (moagrawa) REVIEW: http://review.gluster.org/15118 (glusterd: Convert volume to replica after adding brick self heal is not triggered) posted (#6) for review on master by MOHIT AGRAWAL (moagrawa) COMMIT: http://review.gluster.org/15118 committed in master by Atin Mukherjee (amukherj) ------ commit 87bb8d0400d4ed18dd3954b1d9e5ca6ee0fb9742 Author: Mohit Agrawal <moagrawa> Date: Tue Aug 9 15:53:27 2016 +0530 glusterd: Convert volume to replica after adding brick self heal is not triggered Problem: After add brick to a distribute volume to convert to replica is not triggering self heal. Solution: Modify the condition in brick_graph_add_index to set trusted.afr.dirty attribute in xlator. Test : To verify the patch followd below steps 1) Create a single node volume gluster volume create <DIS> <IP:/dist1/brick1> 2) Start volume and create mount point mount -t glusterfs <IP>:/DIS /mnt 3) Touch some file and write some data on file 4) Add another brick along with replica 2 gluster volume add-brick DIS replica 2 <IP>:/dist2/brick2 5) Before apply the patch file size is 0 bytes in mount point. BUG: 1365455 Change-Id: Ief0ccbf98ea21b53d0e27edef177db6cabb3397f Signed-off-by: Mohit Agrawal <moagrawa> Reviewed-on: http://review.gluster.org/15118 NetBSD-regression: NetBSD Build System <jenkins.org> Reviewed-by: Ravishankar N <ravishankar> Reviewed-by: Anuradha Talur <atalur> Smoke: Gluster Build System <jenkins.org> CentOS-regression: Gluster Build System <jenkins.org> Reviewed-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/ |