[Gluster-devel] split-brain-healing.t failure on NetBSD

Emmanuel Dreyfus manu at netbsd.org
Mon Mar 16 04:14:25 UTC 2015


Ravishankar N <ravishankar at redhat.com> wrote:

> No, the IO is done from the mount point, so there will be pending afr
> xattrs.

Then there is something I do not get. Here is the section that creates
the split brain. It does not goes through $M0, but directly through
bricks backends in $B0, and moreover during glusterfsd downtime. How
could pending xattr appear? 

replica_0_files_list=( $B0/${V0}1/* )
replica_1_files_list=( $B0/${V0}3/* )

############ Create data split-brain in the files. ####
TEST kill_brick $V0 $H0 $B0/${V0}1
for file in ${!replica_0_files_list[*]}
do
        echo "B1 is down">>${replica_0_files_list[$file]}
done
TEST kill_brick $V0 $H0 $B0/${V0}3
for file in ${!replica_1_files_list[*]}
do
        echo "B3 is down">>${replica_1_files_list[$file]}
done


-- 
Emmanuel Dreyfus
http://hcpnet.free.fr/pubz
manu at netbsd.org


More information about the Gluster-devel mailing list