summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorShyamsundarR <srangana@redhat.com>2017-11-03 13:45:12 -0400
committerAtin Mukherjee <amukherj@redhat.com>2017-11-06 03:36:33 +0000
commit0f10b1a5caa78d723b3e8b879d1de162730913ce (patch)
tree99e6882077bbfe91bd8b6f7336fd00352741a416
parent1160ded99bf5fcd00bd0230dfc41336af1efbe6b (diff)
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: 1509412 Signed-off-by: ShyamsundarR <srangana@redhat.com>
-rw-r--r--xlators/mgmt/glusterd/src/glusterd-handler.c4
-rw-r--r--xlators/mgmt/glusterd/src/glusterd-volume-set.c8
2 files changed, 6 insertions, 6 deletions
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 5004e866f18..94f3882c434 100644
--- a/xlators/mgmt/glusterd/src/glusterd-volume-set.c
+++ b/xlators/mgmt/glusterd/src/glusterd-volume-set.c
@@ -3546,23 +3546,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",