[Bugs] [Bug 1541929] A down brick is incorrectly considered to be online and makes the volume to be started without any brick available

bugzilla at redhat.com bugzilla at redhat.com
Tue Feb 6 07:27:07 UTC 2018


--- Comment #2 from Worker Ant <bugzilla-bot at gluster.org> ---
COMMIT: https://review.gluster.org/19498 committed in release-3.13 by "Xavier
Hernandez" <jahernan at redhat.com> with a commit message- cluster/afr: remove
unnecessary child_up initialization

The child_up array was initialized with all elements being -1 to
allow afr_notify() to differentiate down bricks from bricks that
haven't reported yet. With current implementation this is not needed
anymore and it was causing unexpected results when other parts of
the code considered that if child_up[i] != 0, it meant that it was up.

Backport of:
> BUG: 1541038

Change-Id: I2a9d712ee64c512f24bd5cd3a48dcb37e3139472
BUG: 1541929
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=N3Sl6rfHpP&a=cc_unsubscribe

More information about the Bugs mailing list