233933
From c63346dab3e5da0605bf4ddaa314253f42892c9d Mon Sep 17 00:00:00 2001
233933
From: Atin Mukherjee <amukherj@redhat.com>
233933
Date: Wed, 8 May 2019 12:13:59 +0530
233933
Subject: [PATCH 136/141] glusterd: fix inconsistent global option output in
233933
 volume get
233933
233933
volume get all all | grep <key> & volume get <volname> all | grep <key>
233933
dumps two different output value for cluster.brick-multiplex and
233933
cluster.server-quorum-ratio
233933
233933
>upstream patch : https://review.gluster.org/#/c/glusterfs/+/22680/
233933
233933
>Fixes: bz#1707700
233933
>Change-Id: Id131734e0502aa514b84768cf67fce3c22364eae
233933
>Signed-off-by: Atin Mukherjee <amukherj@redhat.com>
233933
233933
BUG: 1706776
233933
Change-Id: Id131734e0502aa514b84768cf67fce3c22364eae
233933
Signed-off-by: Atin Mukherjee <amukherj@redhat.com>
233933
Reviewed-on: https://code.engineering.redhat.com/gerrit/169948
233933
Tested-by: RHGS Build Bot <nigelb@redhat.com>
233933
Reviewed-by: Sunil Kumar Heggodu Gopala Acharya <sheggodu@redhat.com>
233933
---
233933
 xlators/mgmt/glusterd/src/glusterd-volume-set.c | 4 ++--
233933
 1 file changed, 2 insertions(+), 2 deletions(-)
233933
233933
diff --git a/xlators/mgmt/glusterd/src/glusterd-volume-set.c b/xlators/mgmt/glusterd/src/glusterd-volume-set.c
233933
index e52de20..4b32fb6 100644
233933
--- a/xlators/mgmt/glusterd/src/glusterd-volume-set.c
233933
+++ b/xlators/mgmt/glusterd/src/glusterd-volume-set.c
233933
@@ -2906,7 +2906,7 @@ struct volopt_map_entry glusterd_volopt_map[] = {
233933
      .op_version = 1},
233933
     {.key = GLUSTERD_QUORUM_RATIO_KEY,
233933
      .voltype = "mgmt/glusterd",
233933
-     .value = "0",
233933
+     .value = "51",
233933
      .op_version = 1},
233933
     /* changelog translator - global tunables */
233933
     {.key = "changelog.changelog",
233933
@@ -3547,7 +3547,7 @@ struct volopt_map_entry glusterd_volopt_map[] = {
233933
     /* Brick multiplexing options */
233933
     {.key = GLUSTERD_BRICK_MULTIPLEX_KEY,
233933
      .voltype = "mgmt/glusterd",
233933
-     .value = "off",
233933
+     .value = "disable",
233933
      .op_version = GD_OP_VERSION_3_10_0,
233933
      .validate_fn = validate_boolean,
233933
      .type = GLOBAL_DOC,
233933
-- 
233933
1.8.3.1
233933