[Bugs] [Bug 1177418] entry self-heal in 3.5 and 3.6 are not compatible
bugzilla at redhat.com
bugzilla at redhat.com
Mon Jan 5 07:00:09 UTC 2015
https://bugzilla.redhat.com/show_bug.cgi?id=1177418
--- Comment #4 from Anand Avati <aavati at redhat.com> ---
COMMIT: http://review.gluster.org/9355 committed in release-3.6 by Raghavendra
Bhat (raghavendra at redhat.com)
------
commit 50998ae08c5a767468ee85cb5c53bb5554ff734a
Author: Pranith Kumar K <pkarampu at redhat.com>
Date: Mon Nov 17 14:27:47 2014 +0530
cluster/afr: Make entry-self-heal in afr-v2 compatible with afr-v1
Backport of http://review.gluster.org/9227
Problem:
entry self-heal in 3.6 and above, takes full lock on the directory only for
the
duration of figuring out the xattrs of the directories where as 3.5 takes
locks
through out the entry-self-heal. If the cluster is heterogeneous then there
is
a chance that 3.6 self-heal is triggered and then 3.5 self-heal will also
triggered and both the self-heal daemons of 3.5 and 3.6 do self-heal.
Fix:
In 3.6.x and above get an entry lock on a very long name before entry
self-heal
begins so that 3.5 entry self-heal will not get locks until 3.6.x entry
self-heal completes.
BUG: 1177418
Change-Id: Iecf49d794c6b480e38563e39599a40067b3a21cb
Signed-off-by: Pranith Kumar K <pkarampu at redhat.com>
Reviewed-on: http://review.gluster.org/9355
Reviewed-by: Krutika Dhananjay <kdhananj at redhat.com>
Tested-by: Gluster Build System <jenkins at build.gluster.com>
Reviewed-by: Raghavendra Bhat <raghavendra 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