From 3f00016a10762fc22ca526b4039b50168c4eaae3 Mon Sep 17 00:00:00 2001 From: ShyamsundarR Date: Fri, 3 Nov 2017 13:45:12 -0400 Subject: glusterd: Changed default op-version for some options As 3.13 is branched at a point that includes the features that are changed with this commit, their minimum supported op-versions should also change to 3.13. Change-Id: I7ef8eccc13a16f93939c1edbff9508d1e167c5e4 BUG: 1510019 Signed-off-by: ShyamsundarR --- xlators/mgmt/glusterd/src/glusterd-handler.c | 4 ++-- xlators/mgmt/glusterd/src/glusterd-volume-set.c | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'xlators') diff --git a/xlators/mgmt/glusterd/src/glusterd-handler.c b/xlators/mgmt/glusterd/src/glusterd-handler.c index 80896c2b606..acf9da703f0 100644 --- a/xlators/mgmt/glusterd/src/glusterd-handler.c +++ b/xlators/mgmt/glusterd/src/glusterd-handler.c @@ -4304,11 +4304,11 @@ __glusterd_handle_status_volume (rpcsvc_request_t *req) } if ((cmd & GF_CLI_STATUS_CLIENT_LIST) && - (conf->op_version < GD_OP_VERSION_4_0_0)) { + (conf->op_version < GD_OP_VERSION_3_13_0)) { snprintf (err_str, sizeof (err_str), "The cluster is operating " "at version less than %d. Getting the client-list " "is not allowed in this state.", - GD_OP_VERSION_4_0_0); + GD_OP_VERSION_3_13_0); ret = -1; goto out; } diff --git a/xlators/mgmt/glusterd/src/glusterd-volume-set.c b/xlators/mgmt/glusterd/src/glusterd-volume-set.c index 33ff0512abf..02049c2fdce 100644 --- a/xlators/mgmt/glusterd/src/glusterd-volume-set.c +++ b/xlators/mgmt/glusterd/src/glusterd-volume-set.c @@ -3519,23 +3519,23 @@ struct volopt_map_entry glusterd_volopt_map[] = { .option = "!debug", .value = "off", .type = NO_DOC, - .op_version = GD_OP_VERSION_4_0_0, + .op_version = GD_OP_VERSION_3_13_0, .flags = VOLOPT_FLAG_XLATOR_OPT }, { .key = "delay-gen.delay-percentage", .voltype = "debug/delay-gen", .type = NO_DOC, - .op_version = GD_OP_VERSION_4_0_0, + .op_version = GD_OP_VERSION_3_13_0, }, { .key = "delay-gen.delay-duration", .voltype = "debug/delay-gen", .type = NO_DOC, - .op_version = GD_OP_VERSION_4_0_0, + .op_version = GD_OP_VERSION_3_13_0, }, { .key = "delay-gen.enable", .voltype = "debug/delay-gen", .type = NO_DOC, - .op_version = GD_OP_VERSION_4_0_0, + .op_version = GD_OP_VERSION_3_13_0, }, { .key = "disperse.parallel-writes", .voltype = "cluster/disperse", -- cgit