[Bugs] [Bug 1500284] [geo-rep]: Status shows ACTIVE for most workers in EC before it becomes the PASSIVE
bugzilla at redhat.com
bugzilla at redhat.com
Tue Oct 10 10:41:04 UTC 2017
https://bugzilla.redhat.com/show_bug.cgi?id=1500284
--- Comment #2 from Worker Ant <bugzilla-bot at gluster.org> ---
COMMIT: https://review.gluster.org/18464 committed in master by Aravinda VK
(avishwan at redhat.com)
------
commit 3edf926a1bda43879c09694cf3904c214c94c9dc
Author: Kotresh HR <khiremat at redhat.com>
Date: Tue Oct 10 05:54:04 2017 -0400
geo-rep: Fix status transition
The status transition is as below which is
wrong.
Created->Initializing->Active->Active/Passive->Stopped
As soon as the monitor spawns the worker, the state
is changed from 'Initializing' to 'Active' and then to
'Active/Passive' based on whether worker gets the lock
or not. This is wrong and it should directly tranistion
as below.
Created->Initializing->Active/Passive->Stopped
Change-Id: Ibf5ca5c4fdf168c403c6da01db60b93f0604aae7
BUG: 1500284
Signed-off-by: Kotresh HR <khiremat 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=COynxXVs8g&a=cc_unsubscribe
More information about the Bugs
mailing list