diff options
author | Vikas Gorur <vikas@gluster.com> | 2009-10-23 06:45:23 +0000 |
---|---|---|
committer | Anand V. Avati <avati@dev.gluster.com> | 2009-10-23 05:54:57 -0700 |
commit | ef9a28bb2dd57f06c8c4ff75615aba894f2d0bf7 (patch) | |
tree | eb9779c0570c1d6eccb451c5f61f3b42049f9728 /libglusterfsclient | |
parent | 4c31c11509fa490d1746ed614042b04abccc0415 (diff) |
cluster/afr: Prevent spurious entry self-heal.
If the initial lookup shows that 'pending' is positive, then
self-heal will hold a lock and do a lookup again. This lookup
might show that 'pending' is zero everywhere. However, entry
self-heal used to consider this as a case of 'no sources' and
try to merge the directories. This patch checks for that case
and does not do the merge.
Signed-off-by: Anand V. Avati <avati@dev.gluster.com>
BUG: 326 ([2.0.8rc9] Spurious self-heal)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=326
Diffstat (limited to 'libglusterfsclient')
0 files changed, 0 insertions, 0 deletions