summaryrefslogtreecommitdiffstats
path: root/rpc/rpc-lib/src/protocol-common.h
diff options
context:
space:
mode:
authorAravinda VK <avishwan@redhat.com>2015-01-07 21:56:58 +0530
committerVijay Bellur <vbellur@redhat.com>2015-02-02 12:19:07 -0800
commit52765ad94f233e4b4e57515e49f5b7c9e7c08b43 (patch)
treebadad9a91e6a45e54205d3bc7941c305bf903c5a /rpc/rpc-lib/src/protocol-common.h
parent63f17d66258bca46532fe649bbb76a5e5948f22b (diff)
geo-rep: Adding Slave user field to georep status
New column introduced in Status output, "SLAVE USER", Slave user is not "root" in non root Geo-replication setup. Added additional tag in XML output <slave_user> BUG: 1180459 Change-Id: Ia48a5a8eb892ce883b9ec114be7bb2d46eff8535 Signed-off-by: Aravinda VK <avishwan@redhat.com> Reviewed-on: http://review.gluster.org/9409 Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Kotresh HR <khiremat@redhat.com> Reviewed-by: Avra Sengupta <asengupt@redhat.com> Reviewed-by: Venky Shankar <vshankar@redhat.com> Tested-by: Venky Shankar <vshankar@redhat.com> Reviewed-by: Vijay Bellur <vbellur@redhat.com> Tested-by: Vijay Bellur <vbellur@redhat.com>
Diffstat (limited to 'rpc/rpc-lib/src/protocol-common.h')
-rw-r--r--rpc/rpc-lib/src/protocol-common.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/rpc/rpc-lib/src/protocol-common.h b/rpc/rpc-lib/src/protocol-common.h
index 9ff9857bc82..12118721407 100644
--- a/rpc/rpc-lib/src/protocol-common.h
+++ b/rpc/rpc-lib/src/protocol-common.h
@@ -241,6 +241,7 @@ struct gf_gsync_detailed_status_ {
char node[NAME_MAX];
char master[NAME_MAX];
char brick[NAME_MAX];
+ char slave_user[NAME_MAX];
char slave_node[NAME_MAX];
char worker_status[NAME_MAX];
char checkpoint_status[NAME_MAX];