summaryrefslogtreecommitdiffstats
path: root/xlators/mgmt/glusterd/src/glusterd-handler.c
diff options
context:
space:
mode:
authorCsaba Henk <csaba@gluster.com>2011-04-15 00:58:00 +0000
committerAnand Avati <avati@gluster.com>2011-04-15 00:31:08 -0700
commit0dfe24fc9fc8bf92044fa59e27f61169dfdcd5bc (patch)
tree5992e7d61300446d944bd10da3f606a63d5d0871 /xlators/mgmt/glusterd/src/glusterd-handler.c
parente1be6195464836dd910e3b62f518c897dd06740d (diff)
use "geo-replication" all over as the official name of this feature
Use GEOREP macro if you want to refer to the feature in code. Signed-off-by: Csaba Henk <csaba@gluster.com> Signed-off-by: Anand Avati <avati@gluster.com> BUG: 2757 (refactory gsync/gsyncd/syncdaemon/whatever to geo-replication) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=2757
Diffstat (limited to 'xlators/mgmt/glusterd/src/glusterd-handler.c')
-rw-r--r--xlators/mgmt/glusterd/src/glusterd-handler.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/xlators/mgmt/glusterd/src/glusterd-handler.c b/xlators/mgmt/glusterd/src/glusterd-handler.c
index 95da3d00816..f4f2e0a2bef 100644
--- a/xlators/mgmt/glusterd/src/glusterd-handler.c
+++ b/xlators/mgmt/glusterd/src/glusterd-handler.c
@@ -1724,21 +1724,21 @@ glusterd_handle_gsync_set (rpcsvc_request_t *req)
ret = dict_get_str (dict, "master", &master);
if (ret < 0) {
gf_log ("", GF_LOG_INFO, "master not found, while handling"
- "gsync options");
+ GEOREP" options");
master = "(No Master)";
}
ret = dict_get_str (dict, "slave", &slave);
if (ret < 0) {
gf_log ("", GF_LOG_INFO, "slave not not found, while"
- "handling gsync options");
+ "handling "GEOREP" options");
slave = "(No Slave)";
}
ret = dict_get_int32 (dict, "type", &type);
if (ret < 0) {
gf_log ("", GF_LOG_WARNING, "command type not found, while"
- "handling gsync options");
+ "handling "GEOREP" options");
goto out;
}
@@ -1761,10 +1761,10 @@ glusterd_handle_gsync_set (rpcsvc_request_t *req)
break;
}
- gf_cmd_log ("volume gsync", " %s command on %s,%s", operation, master,
+ gf_cmd_log ("volume "GEOREP, " %s command on %s,%s", operation, master,
slave);
ret = glusterd_op_begin (req, GD_OP_GSYNC_SET, dict, _gf_true);
- gf_cmd_log ("volume gsync", " %s command on %s,%s %s ", operation,
+ gf_cmd_log ("volume "GEOREP, " %s command on %s,%s %s ", operation,
master, slave, (ret != 0)? "FAILED" : "SUCCEEDED");
out: