[Bugs] [Bug 1500835] [geo-rep]: Status shows ACTIVE for most workers in EC before it becomes the PASSIVE
bugzilla at redhat.com
bugzilla at redhat.com
Thu Oct 12 18:46:32 UTC 2017
https://bugzilla.redhat.com/show_bug.cgi?id=1500835
--- Comment #2 from Worker Ant <bugzilla-bot at gluster.org> ---
COMMIT: https://review.gluster.org/18491 committed in release-3.12 by jiffin
tony Thottan (jthottan at redhat.com)
------
commit d93c94d460698b9dd3a73c2ba399ff577349180c
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>
(cherry picked from commit 3edf926a1bda43879c09694cf3904c214c94c9dc)
Change-Id: Ibf5ca5c4fdf168c403c6da01db60b93f0604aae7
BUG: 1500835
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=BG2nJhqbJr&a=cc_unsubscribe
More information about the Bugs
mailing list