From e80e1bbd969f1d89b5b8e8eebbf8aa8ae0f2ca24 Mon Sep 17 00:00:00 2001 From: Vijay Bellur Date: Fri, 24 Jan 2014 15:16:39 +0530 Subject: mgmt/glusterd: Set right op versions for few options. compression and changelog translators appear first in 3.5. op-versions of options corresponding to these translators should be 3. Change-Id: Ib514207743e36eba53c3d5cf477c85136cf30b42 BUG: 923540 Signed-off-by: Vijay Bellur Reviewed-on: http://review.gluster.org/6849 Reviewed-by: Kaushal M Tested-by: Gluster Build System --- xlators/mgmt/glusterd/src/glusterd-volume-set.c | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/xlators/mgmt/glusterd/src/glusterd-volume-set.c b/xlators/mgmt/glusterd/src/glusterd-volume-set.c index 447a5460d..631c73ce0 100644 --- a/xlators/mgmt/glusterd/src/glusterd-volume-set.c +++ b/xlators/mgmt/glusterd/src/glusterd-volume-set.c @@ -1006,44 +1006,44 @@ struct volopt_map_entry glusterd_volopt_map[] = { .voltype = "features/cdc", .value = "off", .type = NO_DOC, - .op_version = 2, + .op_version = 3, .description = "enable/disable network compression translator" }, { .key = "network.compression.mode", .voltype = "features/cdc", .option = "mode", .type = NO_DOC, - .op_version = 2 + .op_version = 3 }, { .key = "network.compression.window-size", .voltype = "features/cdc", .option = "window-size", .type = NO_DOC, - .op_version = 2 + .op_version = 3 }, { .key = "network.compression.mem-level", .voltype = "features/cdc", .option = "mem-level", .type = NO_DOC, - .op_version = 2 + .op_version = 3 }, { .key = "network.compression.min-size", .voltype = "features/cdc", .option = "min-size", .type = NO_DOC, - .op_version = 2 + .op_version = 3 }, { .key = "network.compression.compression-level", .voltype = "features/cdc", .option = "compression-level", .type = NO_DOC, - .op_version = 2 + .op_version = 3 }, { .key = "network.compression.debug", .voltype = "features/cdc", .option = "debug", .type = NO_DOC, - .op_version = 2 + .op_version = 3 }, #endif @@ -1452,27 +1452,27 @@ struct volopt_map_entry glusterd_volopt_map[] = { { .key = "changelog.changelog", .voltype = "features/changelog", .type = NO_DOC, - .op_version = 2 + .op_version = 3 }, { .key = "changelog.changelog-dir", .voltype = "features/changelog", .type = NO_DOC, - .op_version = 2 + .op_version = 3 }, { .key = "changelog.encoding", .voltype = "features/changelog", .type = NO_DOC, - .op_version = 2 + .op_version = 3 }, { .key = "changelog.rollover-time", .voltype = "features/changelog", .type = NO_DOC, - .op_version = 2 + .op_version = 3 }, { .key = "changelog.fsync-interval", .voltype = "features/changelog", .type = NO_DOC, - .op_version = 2 + .op_version = 3 }, { .key = NULL } -- cgit