diff options
| author | ShyamsundarR <srangana@redhat.com> | 2017-11-03 13:45:12 -0400 | 
|---|---|---|
| committer | ShyamsundarR <srangana@redhat.com> | 2017-11-06 09:57:36 -0500 | 
| commit | 3f00016a10762fc22ca526b4039b50168c4eaae3 (patch) | |
| tree | b0e963447854e92b88afd602028ba0d8bb234fe3 /xlators/mgmt/glusterd | |
| parent | 6662516d8d8cc935378a734c5c790a23bcc00ab0 (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: 1510019
Signed-off-by: ShyamsundarR <srangana@redhat.com>
Diffstat (limited to 'xlators/mgmt/glusterd')
| -rw-r--r-- | xlators/mgmt/glusterd/src/glusterd-handler.c | 4 | ||||
| -rw-r--r-- | xlators/mgmt/glusterd/src/glusterd-volume-set.c | 8 | 
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 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",  | 
