"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "tests/bugs/replicate/bug-1749322-entry-heal-not-happening.t" between
glusterfs-9.1.tar.gz and glusterfs-9.2.tar.gz

About: GlusterFS is a network/cluster filesystem. The storage server (or each in a cluster) runs glusterfsd and the clients use mount command or glusterfs client to mount the exported filesystem. Release series 9.x (latest version).

bug-1749322-entry-heal-not-happening.t  (glusterfs-9.1):bug-1749322-entry-heal-not-happening.t  (glusterfs-9.2)
skipping to change at line 69 skipping to change at line 69
TEST setfattr -x trusted.gfid $B0/$V0"2"/dir/file4 TEST setfattr -x trusted.gfid $B0/$V0"2"/dir/file4
# B0 and B2 blame each other # B0 and B2 blame each other
# Set data part of the xattr also to 1 so that local->need_full_crawl is true. # Set data part of the xattr also to 1 so that local->need_full_crawl is true.
# Another way is to create the needed entries inside indices/entry-changes # Another way is to create the needed entries inside indices/entry-changes
# folder. # folder.
setfattr -n trusted.afr.$V0-client-0 -v 0x000000010000000000000001 $B0/$V0"2"/di r setfattr -n trusted.afr.$V0-client-0 -v 0x000000010000000000000001 $B0/$V0"2"/di r
setfattr -n trusted.afr.$V0-client-2 -v 0x000000010000000000000001 $B0/$V0"0"/di r setfattr -n trusted.afr.$V0-client-2 -v 0x000000010000000000000001 $B0/$V0"0"/di r
# Add entry to xattrop dir on first brick. # Add entry to xattrop dir on first brick.
xattrop_dir0=$(afr_get_index_path $B0/$V0"0") TEST create_brick_xattrop_entry $B0/$V0"0" dir
base_entry_b0=`ls $xattrop_dir0`
gfid_str=$(gf_gfid_xattr_to_str $(gf_get_gfid_xattr $B0/$V0"0"/dir/))
TEST ln $xattrop_dir0/$base_entry_b0 $xattrop_dir0/$gfid_str
EXPECT "^1$" get_pending_heal_count $V0 EXPECT "^1$" get_pending_heal_count $V0
# Launch heal # Launch heal
TEST $CLI volume heal $V0 enable TEST $CLI volume heal $V0 enable
EXPECT_WITHIN $PROCESS_UP_TIMEOUT "^Y$" glustershd_up_status EXPECT_WITHIN $PROCESS_UP_TIMEOUT "^Y$" glustershd_up_status
EXPECT_WITHIN $CHILD_UP_TIMEOUT "^1$" afr_child_up_status_in_shd $V0 0 EXPECT_WITHIN $CHILD_UP_TIMEOUT "^1$" afr_child_up_status_in_shd $V0 0
EXPECT_WITHIN $CHILD_UP_TIMEOUT "^1$" afr_child_up_status_in_shd $V0 1 EXPECT_WITHIN $CHILD_UP_TIMEOUT "^1$" afr_child_up_status_in_shd $V0 1
EXPECT_WITHIN $CHILD_UP_TIMEOUT "^1$" afr_child_up_status_in_shd $V0 2 EXPECT_WITHIN $CHILD_UP_TIMEOUT "^1$" afr_child_up_status_in_shd $V0 2
TEST $CLI volume heal $V0 TEST $CLI volume heal $V0
 End of changes. 1 change blocks. 
4 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)