path: root/
diff options
authorKrutika Dhananjay <>2015-05-25 16:42:50 +0530
committerVijay Bellur <>2015-05-27 00:51:21 -0700
commit510ed25dc7ce52262a15accc160b8b6ae6d409d1 (patch)
treeebad821d4470784579c8c1852406312f45f3c172 /
parentec730faad06d14a226abc1174eb6f7afb965a69c (diff)
tests: Fix entry-self-heal.t
Backport of: Because both bricks in the replica pair of patchy are in the same node, both full healer threads within the same shd try and fail to acquire non-blocking locks when each one gets lock on one of the bricks, causing heal to fail occasionally. Now heals are triggered from the mount as part of inode refresh. And because the AFR on the mount graph a. does not treat presence of dirty xattrs as something that needs a heal (this is true for dirs fool_heal and fool_me) and b. does not recursively heal the entire hierarchy of subdirs and their entries in one shot (this is true with source_creations_heal/dir1), index heal is used to heal fool_heal, fool_me and source_creations_heal/dir1 wherein only one brick (which is the brick that contains the good copy of source_creations_heal/dir_1: brick-1) has all the gfids to be healed copied into its indices/xattrop directory. Change-Id: Ibafccfb04967c66066cc58110b767bf118755f90 BUG: 1225077 Signed-off-by: Krutika Dhananjay <> Reviewed-on: Tested-by: NetBSD Build System Tested-by: Gluster Build System <> Reviewed-by: Vijay Bellur <>
Diffstat (limited to '')
1 files changed, 0 insertions, 1 deletions
diff --git a/ b/
index 5381c18..4b02649 100755
--- a/
+++ b/
@@ -196,7 +196,6 @@ function is_bad_test ()
local name=$1
for bt in ./tests/basic/volume-snapshot-clone.t \
./tests/basic/uss.t \
- ./tests/basic/afr/entry-self-heal.t \
./tests/bugs/replicate/bug-976800.t \
./tests/bugs/replicate/bug-1015990.t \
./tests/bugs/quota/bug-1038598.t \