From deb76ef2a97ea51c0cbe329a1fdb636071fda90f Mon Sep 17 00:00:00 2001 From: Aravinda VK Date: Sat, 9 May 2015 10:03:42 +0530 Subject: geo-rep: Update Not Started to Created in code and doc "Not Started" status is now "Created", replaced "Not Started" string in code and doc. Change-Id: If7d606c2cc8156e41291e7eebe9d0da4ad7ac28d Signed-off-by: Aravinda VK BUG: 1219937 Reviewed-on: http://review.gluster.org/10698 Tested-by: Gluster Build System Reviewed-by: Kotresh HR --- doc/admin-guide/en-US/markdown/admin_geo-replication.md | 2 +- xlators/mgmt/glusterd/src/glusterd-utils.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/admin-guide/en-US/markdown/admin_geo-replication.md b/doc/admin-guide/en-US/markdown/admin_geo-replication.md index 6c6aaefda9d..6b1f5c6df93 100644 --- a/doc/admin-guide/en-US/markdown/admin_geo-replication.md +++ b/doc/admin-guide/en-US/markdown/admin_geo-replication.md @@ -413,7 +413,7 @@ geo-replication sessions, as needed. - **Initializing**: This is the initial phase of the Geo-replication session; it remains in this state for a minute in order to make sure no abnormalities are present. -- **Not Started**: The geo-replication session is created, but not started. +- **Created**: The geo-replication session is created, but not started. - **Active**: The gsync daemon in this node is active and syncing the data. diff --git a/xlators/mgmt/glusterd/src/glusterd-utils.c b/xlators/mgmt/glusterd/src/glusterd-utils.c index 45564bc0004..28bf54b99e9 100644 --- a/xlators/mgmt/glusterd/src/glusterd-utils.c +++ b/xlators/mgmt/glusterd/src/glusterd-utils.c @@ -4345,7 +4345,7 @@ _local_gsyncd_start (dict_t *this, char *key, data_t *value, void *data) /* Looks for the last status, to find if the sessiom was running * when the node went down. If the session was not started or * not started, do not restart the geo-rep session */ - if ((!strcmp (buf, "Not Started")) || + if ((!strcmp (buf, "Created")) || (!strcmp (buf, "Stopped"))) { gf_log (this1->name, GF_LOG_INFO, "Geo-Rep Session was not started between " -- cgit