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