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