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:41:41 -0700 |
commit | e2575ba00c9299328c95ca967f385efb5fa7345e (patch) | |
tree | 1bbf36af092d75b53f08d2bf976c411d9eca7c1b | |
parent | 9ff65ba5ff96b92ee39b48b06a9b08873c248e87 (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: 1219938
Reviewed-on: http://review.gluster.org/10698
Reviewed-on: http://review.gluster.org/10699
Reviewed-by: Kotresh HR <khiremat@redhat.com>
Tested-by: Gluster Build System <jenkins@build.gluster.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 8209e779c52..a22bc3ba7df 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 " |