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