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