14f8ab
From 2a4f19df70276ba41db19938507297f7580286fa Mon Sep 17 00:00:00 2001
14f8ab
From: Atin Mukherjee <amukherj@redhat.com>
14f8ab
Date: Fri, 25 Oct 2019 18:07:27 +0530
14f8ab
Subject: [PATCH 314/314] glusterd/tier: is_tier_enabled inserted causing
14f8ab
 checksum mismatch
14f8ab
14f8ab
the volfile entry is_tier_enabled is checked for version 3.7.6 while it was
14f8ab
supposed to check for 3.10. this is to fix it downstream only but changing the
14f8ab
version of check to 3.13.1
14f8ab
14f8ab
Label: DOWNSTREAM ONLY
14f8ab
BUG: 1765555
14f8ab
Change-Id: Id631f3ba520b3e7b126c7607dca1bb7874532e81
14f8ab
Signed-off-by: Atin Mukherjee <amukherj@redhat.com>
14f8ab
Reviewed-on: https://code.engineering.redhat.com/gerrit/183932
14f8ab
Reviewed-by: Sanju Rakonde <srakonde@redhat.com>
14f8ab
Tested-by: Sanju Rakonde <srakonde@redhat.com>
14f8ab
Tested-by: RHGS Build Bot <nigelb@redhat.com>
14f8ab
---
14f8ab
 xlators/mgmt/glusterd/src/glusterd-store.c | 2 +-
14f8ab
 1 file changed, 1 insertion(+), 1 deletion(-)
14f8ab
14f8ab
diff --git a/xlators/mgmt/glusterd/src/glusterd-store.c b/xlators/mgmt/glusterd/src/glusterd-store.c
14f8ab
index 4889217..8a10eb8 100644
14f8ab
--- a/xlators/mgmt/glusterd/src/glusterd-store.c
14f8ab
+++ b/xlators/mgmt/glusterd/src/glusterd-store.c
14f8ab
@@ -1036,7 +1036,7 @@ glusterd_volume_exclude_options_write(int fd, glusterd_volinfo_t *volinfo)
14f8ab
         if (ret)
14f8ab
             goto out;
14f8ab
     }
14f8ab
-    if (conf->op_version >= GD_OP_VERSION_3_10_0) {
14f8ab
+    if (conf->op_version >= GD_OP_VERSION_3_13_1) {
14f8ab
         snprintf(buf, sizeof(buf), "%d", volinfo->is_tier_enabled);
14f8ab
         ret = gf_store_save_value(fd, GF_TIER_ENABLED, buf);
14f8ab
         if (ret)
14f8ab
-- 
14f8ab
1.8.3.1
14f8ab