summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tests/bugs/bug-884328.t12
-rw-r--r--xlators/mgmt/glusterd/src/glusterd-volgen.c4
2 files changed, 14 insertions, 2 deletions
diff --git a/tests/bugs/bug-884328.t b/tests/bugs/bug-884328.t
new file mode 100644
index 00000000000..ee5509bbc1d
--- /dev/null
+++ b/tests/bugs/bug-884328.t
@@ -0,0 +1,12 @@
+#!/bin/bash
+
+. $(dirname $0)/../include.rc
+. $(dirname $0)/../volume.rc
+
+cleanup;
+TEST glusterd
+TEST pidof glusterd
+
+TEST check_option_help_presence "cluster.quorum-type"
+TEST check_option_help_presence "cluster.quorum-count"
+cleanup;
diff --git a/xlators/mgmt/glusterd/src/glusterd-volgen.c b/xlators/mgmt/glusterd/src/glusterd-volgen.c
index ffa846dfd9c..4022d59188d 100644
--- a/xlators/mgmt/glusterd/src/glusterd-volgen.c
+++ b/xlators/mgmt/glusterd/src/glusterd-volgen.c
@@ -127,8 +127,8 @@ static struct volopt_map_entry glusterd_volopt_map[] = {
{"cluster.metadata-change-log", "cluster/replicate", NULL, NULL, NO_DOC, 0, 1},
{"cluster.data-self-heal-algorithm", "cluster/replicate", "data-self-heal-algorithm", NULL, DOC, 0, 1},
{"cluster.eager-lock", "cluster/replicate", NULL, NULL, NO_DOC, 0, 1},
- {"cluster.quorum-type", "cluster/replicate", "quorum-type", NULL, NO_DOC, 0, 1},
- {"cluster.quorum-count", "cluster/replicate", "quorum-count", NULL, NO_DOC, 0, 1},
+ {"cluster.quorum-type", "cluster/replicate", "quorum-type", NULL, DOC, 0, 1},
+ {"cluster.quorum-count", "cluster/replicate", "quorum-count", NULL, DOC, 0, 1},
{"cluster.choose-local", "cluster/replicate", NULL, NULL, DOC, 0, 2},
{"cluster.self-heal-readdir-size", "cluster/replicate", NULL, NULL, DOC, 0, 2},
{"cluster.readdir-failover", "cluster/replicate", NULL, NULL, DOC, 0, 2},