diff options
author | Kotresh HR <khiremat@redhat.com> | 2017-10-10 05:54:04 -0400 |
---|---|---|
committer | jiffin tony Thottan <jthottan@redhat.com> | 2017-10-12 18:46:28 +0000 |
commit | d93c94d460698b9dd3a73c2ba399ff577349180c (patch) | |
tree | 965ae98e89ae11785e16305dbc58b82afa2ead3e /xlators/mgmt/glusterd/src/glusterd-store.h | |
parent | ff86417be4046575e0eb648fb3a47274aaf18ecd (diff) |
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@redhat.com>
(cherry picked from commit 3edf926a1bda43879c09694cf3904c214c94c9dc)
Change-Id: Ibf5ca5c4fdf168c403c6da01db60b93f0604aae7
BUG: 1500835
Signed-off-by: Kotresh HR <khiremat@redhat.com>
Diffstat (limited to 'xlators/mgmt/glusterd/src/glusterd-store.h')
0 files changed, 0 insertions, 0 deletions