diff options
author | Aravinda VK <avishwan@redhat.com> | 2015-05-09 10:03:42 +0530 |
---|---|---|
committer | Vijay Bellur <vbellur@redhat.com> | 2015-05-09 20:24:47 -0700 |
commit | deb76ef2a97ea51c0cbe329a1fdb636071fda90f (patch) | |
tree | 94f09b3e3e4f13ac6c7da2daf0c7b06402efcc0f | |
parent | b46e65db722c14985db62a1679e0388d217b713b (diff) |
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 <avishwan@redhat.com>
BUG: 1219937
Reviewed-on: http://review.gluster.org/10698
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Kotresh HR <khiremat@redhat.com>
-rw-r--r-- | doc/admin-guide/en-US/markdown/admin_geo-replication.md | 2 | ||||
-rw-r--r-- | 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 " |