diff options
author | Pranith Kumar K <pkarampu@redhat.com> | 2020-05-13 21:53:23 +0530 |
---|---|---|
committer | Sanju Rakonde <sanjurakonde@review.gluster.org> | 2020-05-16 11:22:09 +0000 |
commit | dc1d549d0e776ecd4c8381577eeed990250a7f6a (patch) | |
tree | 781544145717dccf63ec07c06f0f548ca669dbe6 /tests/basic/afr/gfid-mismatch-resolution-with-fav-child-policy.t | |
parent | b837e73a16c41be261dfadaf87962c20ef018296 (diff) | |
download | glusterfs-dc1d549d0e776ecd4c8381577eeed990250a7f6a.tar.gz glusterfs-dc1d549d0e776ecd4c8381577eeed990250a7f6a.tar.xz glusterfs-dc1d549d0e776ecd4c8381577eeed990250a7f6a.zip |
mgmt/glusterd: Stop old shd before increasing replica count
Problem:
In add-brick that increases replica count
SHD was restarted after pending xattrs are set on the new bricks and
adding bricks. But before restarting SHD there is a possibility that
old SHD would do a scan on root-directory see no heal is needed and
delete index for root-dir leading to no heals until lookup is executed
on the mount
Fix:
Stop shd, perform pending-xattr setting/adding new bricks and
then restart shd
Fixes: #1240
Change-Id: I94fd7c6c909211b597185dfe097a559db6c0d00f
Signed-off-by: Pranith Kumar K <pkarampu@redhat.com>
Diffstat (limited to 'tests/basic/afr/gfid-mismatch-resolution-with-fav-child-policy.t')
-rw-r--r-- | tests/basic/afr/gfid-mismatch-resolution-with-fav-child-policy.t | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/tests/basic/afr/gfid-mismatch-resolution-with-fav-child-policy.t b/tests/basic/afr/gfid-mismatch-resolution-with-fav-child-policy.t index 12af0c8546..35e295dc17 100644 --- a/tests/basic/afr/gfid-mismatch-resolution-with-fav-child-policy.t +++ b/tests/basic/afr/gfid-mismatch-resolution-with-fav-child-policy.t @@ -227,4 +227,3 @@ HEALED_MD5=$(md5sum $B0/${V0}2/f4 | cut -d\ -f1) TEST [ "$MAJORITY_MD5" == "$HEALED_MD5" ] cleanup; -#G_TESTDEF_TEST_STATUS_NETBSD7=1501390 |