diff options
author | Atin Mukherjee <amukherj@redhat.com> | 2019-05-08 12:13:59 +0530 |
---|---|---|
committer | Amar Tumballi <amarts@redhat.com> | 2019-05-09 19:37:02 +0000 |
commit | 13d09055f7b266a934960f8db9572ec8fd2f6dfa (patch) | |
tree | 90419cf47d0a31c05caa59460f8fcabaa7b5cbef /xlators/mgmt/glusterd | |
parent | 6a73800b45952a823d808f4efb01d40a6d1257f4 (diff) |
glusterd: fix inconsistent global option output in volume get
volume get all all | grep <key> & volume get <volname> all | grep <key>
dumps two different output value for cluster.brick-multiplex and
cluster.server-quorum-ratio
Fixes: bz#1707700
Change-Id: Id131734e0502aa514b84768cf67fce3c22364eae
Signed-off-by: Atin Mukherjee <amukherj@redhat.com>
Diffstat (limited to 'xlators/mgmt/glusterd')
-rw-r--r-- | xlators/mgmt/glusterd/src/glusterd-volume-set.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xlators/mgmt/glusterd/src/glusterd-volume-set.c b/xlators/mgmt/glusterd/src/glusterd-volume-set.c index f0eb9b27971..63e02d45624 100644 --- a/xlators/mgmt/glusterd/src/glusterd-volume-set.c +++ b/xlators/mgmt/glusterd/src/glusterd-volume-set.c @@ -2433,7 +2433,7 @@ struct volopt_map_entry glusterd_volopt_map[] = { .op_version = 2}, {.key = GLUSTERD_QUORUM_RATIO_KEY, .voltype = "mgmt/glusterd", - .value = "0", + .value = "51", .op_version = 2}, /* changelog translator - global tunables */ {.key = "changelog.changelog", @@ -2822,7 +2822,7 @@ struct volopt_map_entry glusterd_volopt_map[] = { /* Brick multiplexing options */ {.key = GLUSTERD_BRICK_MULTIPLEX_KEY, .voltype = "mgmt/glusterd", - .value = "off", + .value = "disable", .op_version = GD_OP_VERSION_3_10_0, .validate_fn = validate_boolean, .type = GLOBAL_DOC, |