path: root/geo-replication/syncdaemon/
diff options
authorKotresh HR <>2017-10-10 05:54:04 -0400
committerAravinda VK <>2017-10-11 10:13:35 +0000
commit3edf926a1bda43879c09694cf3904c214c94c9dc (patch)
treee80415a7925e08d7556629d5add31a7982d9486a /geo-replication/syncdaemon/
parent6060b113f0f49fe9654fe03fc79576e591ed8a43 (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 <>
Diffstat (limited to 'geo-replication/syncdaemon/')
1 files changed, 0 insertions, 1 deletions
diff --git a/geo-replication/syncdaemon/ b/geo-replication/syncdaemon/
index b65f1948050..4da933047c8 100644
--- a/geo-replication/syncdaemon/
+++ b/geo-replication/syncdaemon/
@@ -389,7 +389,6 @@ class Monitor(object):
nwait(apid) # wait for agent
ret = nwait(cpid)
if ret is None:
- self.status[w[0]['dir']].set_worker_status(self.ST_STABLE)
# If worker dies, agent terminates on EOF.
# So lets wait for agent first.