[Bugs] [Bug 1176008] Directories not visible anymore after add-brick, new brick dirs not part of old bricks
bugzilla at redhat.com
bugzilla at redhat.com
Fri Feb 20 10:35:08 UTC 2015
https://bugzilla.redhat.com/show_bug.cgi?id=1176008
--- Comment #16 from Anand Avati <aavati at redhat.com> ---
COMMIT: http://review.gluster.org/9302 committed in master by Raghavendra G
(rgowdapp at redhat.com)
------
commit 571a71f0acd0ec59340b9d0d2519793e33a1dc16
Author: Raghavendra G <rgowdapp at redhat.com>
Date: Wed Feb 18 12:15:55 2015 +0530
cluster/dht: synchronize with other concurrent healers while healing
layout.
Current layout heal code assumes layout setting is idempotent. This
allowed multiple concurrent healers to set the layout without any
synchronization. However, this is not the case as different healers
can come up with different layout for same directory and making layout
setting non-idempotent. So, we bring in synchronization among healers
to
1. Not to overwrite an ondisk well-formed layout.
2. Refresh the in-memory layout with the ondisk layout if in-memory
layout needs healing and ondisk layout is well formed.
This patch can synchronize
1. among multiple healers.
2. among multiple fix-layouts (which extends layout to consider
added or removed brick)
3. (but) not between healers and fix-layouts. So, the problem of
in-memory stale layouts (not matching with layout ondisk), is not
_completely_ fixed by this patch.
Signed-off-by: Raghavendra G <rgowdapp at redhat.com>
Change-Id: Ia285f25e8d043bb3175c61468d0d11090acee539
BUG: 1176008
Reviewed-on: http://review.gluster.org/9302
Reviewed-by: N Balachandran <nbalacha 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