summaryrefslogtreecommitdiffstats
path: root/glustolibs-gluster/glustolibs/gluster/brickmux_ops.py
diff options
context:
space:
mode:
authorkshithijiyer <kshithij.ki@gmail.com>2020-03-04 11:54:49 +0530
committerBala Konda Reddy M <bala12352@gmail.com>2020-03-17 10:31:07 +0000
commit36418ed2d794ad34dd80d85dbaacac8bcab2cd20 (patch)
treeeeb88c9e3f854598d3604a38b8530237f5877fb3 /glustolibs-gluster/glustolibs/gluster/brickmux_ops.py
parent256cebf66b5ce925c40c08b97d4df19c7faf49fc (diff)
[Test+libfix] Testcases for rename with subvol down
Case 1: 1.mkdir srcdir and dstdir(such that srcdir and dstdir hashes to different subvols) 2.Bring down srcdir hashed subvol 3.mv srcdir dstdir (should fail) Case 2: 1.mkdir srcdir dstdir 2.Bring down srcdir hashed 3.Bring down dstdir hashed 4.mv srcdir dstdir (should fail) Case 3: 1.mkdir srcdir dstdir 2.Bring down dstdir hashed subvol 3.mv srcdir dstdir (should fail) Additional library fix details: Also fixing library function to work with distributed-disperse volume by removing `if oldhashed._host != brickdir._host:` as the same node can host multiple bricks of the same volume. Change-Id: Iaa472d1eb304b547bdec7a8e6b62c1df1a0ce591 Co-authored-by: Susant Palai <spalai@redhat.com> Signed-off-by: Susant Palai <spalai@redhat.com> Signed-off-by: kshithijiyer <kshithij.ki@gmail.com>
Diffstat (limited to 'glustolibs-gluster/glustolibs/gluster/brickmux_ops.py')
0 files changed, 0 insertions, 0 deletions