[Bugs] [Bug 1515266] Prevent ec from continue processing heal operations after PARENT_DOWN

bugzilla at redhat.com bugzilla at redhat.com
Tue Nov 28 09:12:20 UTC 2017


https://bugzilla.redhat.com/show_bug.cgi?id=1515266



--- Comment #4 from Worker Ant <bugzilla-bot at gluster.org> ---
COMMIT: https://review.gluster.org/18840 committed in master by \"Xavier
Hernandez\" <jahernan at redhat.com> with a commit message- cluster/ec: Prevent
self-heal to work after PARENT_DOWN

When the volume is being stopped, PARENT_DOWN event is received.
This instructs EC to wait until all pending operations are completed
before declaring itself down. However heal operations are ignored
and allowed to continue even after having said it was down.

This may cause unexpected results and crashes.

To solve this, heal operations are considered exactly equal as any
other operation and EC won't propagate PARENT_DOWN until all
operations, including healing, are complete. To avoid big delays
if this happens in the middle of a big heal, a check has been
added to quit current heal if shutdown is detected.

Change-Id: I26645e236ebd115eb22c7ad4972461111a2d2034
BUG: 1515266
Signed-off-by: Xavier Hernandez <jahernan at redhat.com>

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=tBnp3U1bxN&a=cc_unsubscribe


More information about the Bugs mailing list