path: root/tests/bugs/replicate/bug-1365455.t
Commit message (Collapse)AuthorAgeFilesLines
* glusterd: Convert volume to replica after adding brick self heal is not ↵Mohit Agrawal2016-08-181-0/+54
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. Backport of commit 87bb8d0400d4ed18dd3954b1d9e5ca6ee0fb9742 BUG: 1366444 Signed-off-by: Mohit Agrawal <> > Change-Id: Ief0ccbf98ea21b53d0e27edef177db6cabb3397f > Signed-off-by: Mohit Agrawal <> > Reviewed-on: > NetBSD-regression: NetBSD Build System <> > Reviewed-by: Ravishankar N <> > Reviewed-by: Anuradha Talur <> > Smoke: Gluster Build System <> > CentOS-regression: Gluster Build System <> > Reviewed-by: Atin Mukherjee <> > (cherry picked from commit 87bb8d0400d4ed18dd3954b1d9e5ca6ee0fb9742) Change-Id: I9c21ba4d7b1a2d7c5c79a6bb86cc05831b0cd120 Reviewed-on: Smoke: Gluster Build System <> Reviewed-by: Ravishankar N <> NetBSD-regression: NetBSD Build System <> CentOS-regression: Gluster Build System <> Tested-by: Atin Mukherjee <> Reviewed-by: Atin Mukherjee <>