diff options
author | Barak Sason Rofman <sason922@gmail.com> | 2020-06-25 12:51:04 +0300 |
---|---|---|
committer | Barak Sason Rofman <sason922@gmail.com> | 2020-06-25 14:06:08 +0300 |
commit | cff7804a0604b1b2ab2d91920af163bd95653ae7 (patch) | |
tree | 5757646631283da880ba49304c0bf6ea68821e35 /tests | |
parent | 620158475f462251c996901a8e24306ef6cb4c42 (diff) |
Revert "dht - fixing xattr inconsistency"
This reverts commit 620158475f462251c996901a8e24306ef6cb4c42.
The patch to revert is https://review.gluster.org/#/c/glusterfs/+/24613/
Reverting is required as comments were posted regarding a more
efficient implementation were made after the patch was merged.
A new patch will be posted to adress the comments will be posted.
updates: #1324
Change-Id: I59205baefe1cada033c736d41ce9c51b21727d3f
Signed-off-by: Barak Sason Rofman <redhat@gmail.com>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/bugs/distribute/bug-1600379.t | 54 |
1 files changed, 0 insertions, 54 deletions
diff --git a/tests/bugs/distribute/bug-1600379.t b/tests/bugs/distribute/bug-1600379.t deleted file mode 100644 index 3c98535fe27..00000000000 --- a/tests/bugs/distribute/bug-1600379.t +++ /dev/null @@ -1,54 +0,0 @@ -#!/bin/bash - -. $(dirname $0)/../../include.rc -. $(dirname $0)/../../volume.rc - -# Initialize -#------------------------------------------------------------ -cleanup; - -# Start glusterd -TEST glusterd; -TEST pidof glusterd; -TEST $CLI volume info; - -# Create a volume -TEST $CLI volume create $V0 $H0:$B0/${V0}{1,2} - -# Verify volume creation -EXPECT "$V0" volinfo_field $V0 'Volume Name'; -EXPECT 'Created' volinfo_field $V0 'Status'; - -# Start volume and verify successful start -TEST $CLI volume start $V0; -EXPECT 'Started' volinfo_field $V0 'Status'; -TEST glusterfs --volfile-id=$V0 --volfile-server=$H0 --entry-timeout=0 $M0; -#------------------------------------------------------------ - -# Test case - Subvolume down + Healing -#------------------------------------------------------------ -# Create a dir and set custom xattr -TEST mkdir $M0/testdir -TEST setfattr -n user.attr -v val $M0/testdir -xattr_val=`getfattr -d $B0/${V0}2/testdir | awk '{print $1}'`; -TEST ${xattr_val}='user.attr="val"'; - -# Kill 2nd brick process -TEST kill_brick $V0 $H0 $B0/${V0}2 -EXPECT_WITHIN ${PROCESS_UP_TIMEOUT} "1" online_brick_count - -# Remove custom xattr -TEST setfattr -x user.attr $M0/testdir - -# Bring up the killed brick process -TEST $CLI volume start $V0 force - -# Perform lookup -sleep 5 -TEST ls $M0/testdir - -# Check brick xattrs -xattr_val_2=`getfattr -d $B0/${V0}2/testdir`; -TEST [ ${xattr_val_2} = ''] ; - -cleanup;
\ No newline at end of file |