diff options
author | Saravanakumar Arumugam <sarumuga@redhat.com> | 2016-05-19 21:13:04 +0530 |
---|---|---|
committer | Aravinda VK <avishwan@redhat.com> | 2016-06-13 03:36:33 -0700 |
commit | 2b984e60b97971f1cd2e661081efee3c4a387bcc (patch) | |
tree | edaae80b55b24a0d4b50db1c2c21e5613517ba32 /geo-replication | |
parent | fb7adf2e1f8ab582173fa38e5aaa584659ddd2a5 (diff) |
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 <sarumuga@redhat.com>
Reviewed-on: http://review.gluster.org/14641
NetBSD-regression: NetBSD Build System <jenkins@build.gluster.org>
CentOS-regression: Gluster Build System <jenkins@build.gluster.com>
Smoke: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Aravinda VK <avishwan@redhat.com>
Diffstat (limited to 'geo-replication')
-rw-r--r-- | geo-replication/syncdaemon/gsyncdstatus.py | 3 |
1 files changed, 3 insertions, 0 deletions
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 |