summaryrefslogtreecommitdiffstats
path: root/xlators/mgmt/glusterd/src/glusterd-volume-set.c
diff options
context:
space:
mode:
authorVijay Bellur <vbellur@redhat.com>2014-01-24 15:16:39 +0530
committerVijay Bellur <vbellur@redhat.com>2014-01-28 00:50:48 -0800
commitc8975995d711e1bffe8acbb4650abc0d3bbea055 (patch)
treef7bc2727b8e07a003bd208b2fe363b9a89cd8470 /xlators/mgmt/glusterd/src/glusterd-volume-set.c
parente435b4b059946fa823b2e22e29899cb256a48bef (diff)
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 <vbellur@redhat.com> Reviewed-on: http://review.gluster.org/6774 Reviewed-by: Kaushal M <kaushal@redhat.com> Tested-by: Gluster Build System <jenkins@build.gluster.com>
Diffstat (limited to 'xlators/mgmt/glusterd/src/glusterd-volume-set.c')
-rw-r--r--xlators/mgmt/glusterd/src/glusterd-volume-set.c24
1 files 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 e7aa1cd7c..db0a6374a 100644
--- a/xlators/mgmt/glusterd/src/glusterd-volume-set.c
+++ b/xlators/mgmt/glusterd/src/glusterd-volume-set.c
@@ -1016,44 +1016,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
@@ -1462,27 +1462,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
}