From c4029a5cb1bb2bceaedb72964ef3da955ffe5bf2 Mon Sep 17 00:00:00 2001 From: Richard Wareing Date: Wed, 24 Feb 2016 21:34:45 -0800 Subject: mgmt/glusterd: Allow disabling of changelog xlator w/ old clients connected Summary: - Reduces version of change log option to 2 (3.4.x) so we can disable this *server* side feature when older clients are attached Test Plan: - Was required as a hotfix for a broken cluster, after installing an RC with this patch we were able to kill the feature and stabilize the cluster. Reviewers: sshreyas, moox, dph, dld, kvigor Reviewed By: kvigor Differential Revision: https://phabricator.fb.com/D2981552 Change-Id: I515e2bb520585e5efaa305b1acbab21ebc7218a9 Reviewed-on: https://review.gluster.org/18183 Reviewed-by: Jeff Darcy Tested-by: Jeff Darcy CentOS-regression: Gluster Build System Smoke: Gluster Build System --- xlators/mgmt/glusterd/src/glusterd-volume-set.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xlators/mgmt/glusterd/src/glusterd-volume-set.c b/xlators/mgmt/glusterd/src/glusterd-volume-set.c index d29f32d1963..645fc8d7e16 100644 --- a/xlators/mgmt/glusterd/src/glusterd-volume-set.c +++ b/xlators/mgmt/glusterd/src/glusterd-volume-set.c @@ -2592,7 +2592,7 @@ struct volopt_map_entry glusterd_volopt_map[] = { { .key = "changelog.changelog", .voltype = "features/changelog", .type = NO_DOC, - .op_version = 3 + .op_version = 2 }, { .key = "changelog.changelog-dir", .voltype = "features/changelog", -- cgit