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