summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorShwetha Acharya <sacharya@redhat.com>2018-11-14 16:28:03 +0530
committerAmar Tumballi <amarts@redhat.com>2018-11-16 03:20:05 +0000
commit8204c072ee80c5901ac38e66e346a2ba7da31892 (patch)
tree48321c57892ef2fa98f5007a65bcf197d2cf1a4d
parentfda594875c4cdb2a22e27aa13f5c66bee032ccb5 (diff)
cli: cluster.server-quorum-type help text is missing
Added a default value "none" and additional description. Change-Id: I3a5c06f8ec1e502fc399860e4b5cb835102cd71d Updates: bz#1608512 Signed-off-by: Shwetha Acharya <sacharya@redhat.com>
-rw-r--r--xlators/mgmt/glusterd/src/glusterd.c12
1 files changed, 8 insertions, 4 deletions
diff --git a/xlators/mgmt/glusterd/src/glusterd.c b/xlators/mgmt/glusterd/src/glusterd.c
index 27529f9fa59..bbc9d317a9d 100644
--- a/xlators/mgmt/glusterd/src/glusterd.c
+++ b/xlators/mgmt/glusterd/src/glusterd.c
@@ -2152,13 +2152,17 @@ struct volume_options options[] = {
{.key = {"server-quorum-type"},
.type = GF_OPTION_TYPE_STR,
.value = {"none", "server"},
- .description = "This feature is on the server-side i.e. in glusterd."
- " Whenever the glusterd on a machine observes that "
+ .default_value = "none",
+ .description = "It can be set to none or server. When set to server, "
+ "this option enables the specified volume to "
+ "participate in the server-side quorum. "
+ "This feature is on the server-side i.e. in glusterd. "
+ "Whenever the glusterd on a machine observes that "
"the quorum is not met, it brings down the bricks to "
"prevent data split-brains. When the network "
"connections are brought back up and the quorum is "
- "restored the bricks in the volume are brought back "
- "up."},
+ "restored the bricks in "
+ "the volume are brought back up."},
{.key = {"server-quorum-ratio"},
.type = GF_OPTION_TYPE_PERCENT,
.description = "Sets the quorum percentage for the trusted "