summaryrefslogtreecommitdiffstats
path: root/xlators
diff options
context:
space:
mode:
authorVijay Bellur <vbellur@redhat.com>2014-01-24 15:16:39 +0530
committerVijay Bellur <vbellur@redhat.com>2014-02-03 05:45:17 -0800
commite80e1bbd969f1d89b5b8e8eebbf8aa8ae0f2ca24 (patch)
tree29dd9ebd8982229e0fc53c1a9d88a02020404426 /xlators
parent1e35bfa0b4085424a7572f812c3243e233a46fda (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/6849 Reviewed-by: Kaushal M <kaushal@redhat.com> Tested-by: Gluster Build System <jenkins@build.gluster.com>
Diffstat (limited to 'xlators')
-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 447a5460dd1..631c73ce08e 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
}