summaryrefslogtreecommitdiffstats
path: root/xlators/mgmt/glusterd/src/glusterd-volgen.c
diff options
context:
space:
mode:
authorRavishankar N <ravishankar@redhat.com>2016-06-03 18:22:22 +0530
committerPranith Kumar Karampuri <pkarampu@redhat.com>2016-06-09 01:20:43 -0700
commit51e1028373b4a4082a771001b813d6f19aeacb37 (patch)
tree7e4860bbc69f8b371c641c64fc7ac0b26bff37d4 /xlators/mgmt/glusterd/src/glusterd-volgen.c
parentea4d4175ab3fc5cc1545ebde4d8d35ba0bf4aa3f (diff)
afr: afr-pending-xattr fallback check
Commit 6e635284a4411b816d4d860a28262c9e6dc4bd6a introduced a comma separated list of values to be used as AFR's pending changelogs. If this xlator option is missing in the volfile, fall back to using client xlator names for constructing the pending changelog names. Also, since the aforementioned commit was reverted from 3.7 and 3.8 branches, introduce GD_OP_VERSION_3_9_0 and change the op-version for this feature to GD_OP_VERSION_3_9_0. Change-Id: I3639b9ab475bd8d9929cc7527d9f4584dee1ad1b BUG: 1285152 Signed-off-by: Ravishankar N <ravishankar@redhat.com> Reviewed-on: http://review.gluster.org/14642 Smoke: Gluster Build System <jenkins@build.gluster.com> CentOS-regression: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Pranith Kumar Karampuri <pkarampu@redhat.com> NetBSD-regression: NetBSD Build System <jenkins@build.gluster.org>
Diffstat (limited to 'xlators/mgmt/glusterd/src/glusterd-volgen.c')
-rw-r--r--xlators/mgmt/glusterd/src/glusterd-volgen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xlators/mgmt/glusterd/src/glusterd-volgen.c b/xlators/mgmt/glusterd/src/glusterd-volgen.c
index 52bb75fd664..a56de2dd858 100644
--- a/xlators/mgmt/glusterd/src/glusterd-volgen.c
+++ b/xlators/mgmt/glusterd/src/glusterd-volgen.c
@@ -3490,7 +3490,7 @@ set_afr_pending_xattrs_option (volgen_graph_t *graph,
conf = this->private;
GF_VALIDATE_OR_GOTO (this->name, conf, out);
- if (conf->op_version < GD_OP_VERSION_3_7_7)
+ if (conf->op_version < GD_OP_VERSION_3_9_0)
return ret;
/* (brick_id x rep.count) + (rep.count-1 commas) + NULL*/