[Bugs] [Bug 1163543] Fix regression test spurious failures
bugzilla at redhat.com
bugzilla at redhat.com
Tue May 26 15:12:56 UTC 2015
https://bugzilla.redhat.com/show_bug.cgi?id=1163543
--- Comment #121 from Anand Avati <aavati at redhat.com> ---
COMMIT: http://review.gluster.org/10916 committed in master by Pranith Kumar
Karampuri (pkarampu at redhat.com)
------
commit 158b047f7949d4fd1682fcb8f0722ddb28785bfa
Author: Krutika Dhananjay <kdhananj at redhat.com>
Date: Mon May 25 16:42:50 2015 +0530
tests: Fix entry-self-heal.t
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: I46df4188f16d1623f20cc0d7266b3afaeca6c31f
BUG: 1163543
Signed-off-by: Krutika Dhananjay <kdhananj at redhat.com>
Reviewed-on: http://review.gluster.org/10916
Tested-by: NetBSD Build System
Reviewed-by: Pranith Kumar Karampuri <pkarampu at redhat.com>
--
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
More information about the Bugs
mailing list