From 2b984e60b97971f1cd2e661081efee3c4a387bcc Mon Sep 17 00:00:00 2001 From: Saravanakumar Arumugam Date: Thu, 19 May 2016 21:13:04 +0530 Subject: glusterd/geo-rep: upgrade path when slave vol uuid involved slave volume uuid is involved in identifying a geo-replication session. This patch addresses upgrade path, where existing geo-rep session is gracefully upgraded to involve slave volume uuid. Change-Id: Ib7ff5109b161592f24fc86fc7e93a407655fab86 BUG: 1342453 Reviewed-on: http://review.gluster.org/#/c/14425 Signed-off-by: Saravanakumar Arumugam Reviewed-on: http://review.gluster.org/14641 NetBSD-regression: NetBSD Build System CentOS-regression: Gluster Build System Smoke: Gluster Build System Reviewed-by: Aravinda VK --- geo-replication/syncdaemon/gsyncdstatus.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'geo-replication/syncdaemon') diff --git a/geo-replication/syncdaemon/gsyncdstatus.py b/geo-replication/syncdaemon/gsyncdstatus.py index 77f3f9e7569..88398e2ce8a 100644 --- a/geo-replication/syncdaemon/gsyncdstatus.py +++ b/geo-replication/syncdaemon/gsyncdstatus.py @@ -272,6 +272,9 @@ class GeorepStatus(object): if monitor_status in ["Created", "Paused", "Stopped"]: data["worker_status"] = monitor_status + if monitor_status == "": + data["worker_status"] = "Stopped" + # Checkpoint adjustments if checkpoint_time == 0: data["checkpoint_completed"] = DEFAULT_STATUS -- cgit