[Gluster-devel] basic/afr/gfid-self-heal.t on release-3.6/NetBSD

Emmanuel Dreyfus manu at netbsd.org
Sat Sep 6 04:53:38 UTC 2014


Hi

NetBSD passes basic/afr/gfid-self-heal.t on master but fails it on release-3.6.
I do not recall fixing anything about it, hence I wonder if someone else has an
idea of a fix that went into master and that could be related.

It happens in test 33-34, here is the relevant tests, with comment added by me:

#Check gfid self-heal doesn't happen from one brick to other when type mismatch
#is present for a name, without any xattrs
TEST kill_brick $V0 $H0 $B0/${V0}0
TEST touch $M0/b
TEST mkdir $B0/${V0}0/b
TEST setfattr -x trusted.afr.$V0-client-0 $B0/${V0}1
$CLI volume start $V0 force
EXPECT_WITHIN $PROCESS_UP_TIMEOUT "1" afr_child_up_status $V0 0

# 33: master/NetBSD: gets EIO, release-3.6/NetBSD: b is here and fine
TEST ! stat $M0/b

# 34: master/NetBSD: nothing, release-3.6/NetBSD: a gfid is returned
gfid_0=$(gf_get_gfid_xattr $B0/${V0}0/b)
TEST "[[ -z \"$gfid_0\" ]]"

All others basic/afr tests pass both master/NetBSD and release-3.6/NetBSD

Any hint?

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


More information about the Gluster-devel mailing list