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