|
|
887953 |
From dd1d565505d1f9c41dd6f151341f9337d89aa7cf Mon Sep 17 00:00:00 2001
|
|
|
887953 |
From: Krutika Dhananjay <kdhananj@redhat.com>
|
|
|
887953 |
Date: Tue, 6 Nov 2018 18:44:55 +0530
|
|
|
887953 |
Subject: [PATCH 442/444] glusterd: Reset op-version for
|
|
|
887953 |
"features.shard-lru-limit"
|
|
|
887953 |
|
|
|
887953 |
The op-version for the "features.shard-lru-limit" option was set to
|
|
|
887953 |
4.2.0 in the upstream patch and backported at
|
|
|
887953 |
41e7e33c6512e98a1567e5a5532d3898b59cfa98
|
|
|
887953 |
|
|
|
887953 |
This commit reverts the op-version for this option to 3.13.4.
|
|
|
887953 |
|
|
|
887953 |
Label: DOWNSTREAM ONLY
|
|
|
887953 |
|
|
|
887953 |
Change-Id: I7d3ed6b373851267c78fc6815a83bee2c0906413
|
|
|
887953 |
BUG: 1603118
|
|
|
887953 |
Signed-off-by: Krutika Dhananjay <kdhananj@redhat.com>
|
|
|
887953 |
Reviewed-on: https://code.engineering.redhat.com/gerrit/155127
|
|
|
887953 |
Tested-by: RHGS Build Bot <nigelb@redhat.com>
|
|
|
887953 |
Reviewed-by: Xavi Hernandez <xhernandez@redhat.com>
|
|
|
887953 |
---
|
|
|
887953 |
libglusterfs/src/globals.h | 4 +---
|
|
|
887953 |
xlators/mgmt/glusterd/src/glusterd-volume-set.c | 2 +-
|
|
|
887953 |
2 files changed, 2 insertions(+), 4 deletions(-)
|
|
|
887953 |
|
|
|
887953 |
diff --git a/libglusterfs/src/globals.h b/libglusterfs/src/globals.h
|
|
|
887953 |
index 555f44b..1bede2e 100644
|
|
|
887953 |
--- a/libglusterfs/src/globals.h
|
|
|
887953 |
+++ b/libglusterfs/src/globals.h
|
|
|
887953 |
@@ -43,7 +43,7 @@
|
|
|
887953 |
*/
|
|
|
887953 |
#define GD_OP_VERSION_MIN 1 /* MIN is the fresh start op-version, mostly
|
|
|
887953 |
should not change */
|
|
|
887953 |
-#define GD_OP_VERSION_MAX GD_OP_VERSION_4_2_0 /* MAX VERSION is the maximum
|
|
|
887953 |
+#define GD_OP_VERSION_MAX GD_OP_VERSION_3_13_4 /* MAX VERSION is the maximum
|
|
|
887953 |
count in VME table, should
|
|
|
887953 |
keep changing with
|
|
|
887953 |
introduction of newer
|
|
|
887953 |
@@ -111,8 +111,6 @@
|
|
|
887953 |
|
|
|
887953 |
#define GD_OP_VERSION_3_13_3 31303 /* Op-version for GlusterFS 3.13.3 */
|
|
|
887953 |
|
|
|
887953 |
-#define GD_OP_VERSION_4_2_0 40200 /* Op-version for GlusterFS 4.2.0 */
|
|
|
887953 |
-
|
|
|
887953 |
/* Downstream only change */
|
|
|
887953 |
#define GD_OP_VERSION_3_11_2 31102 /* Op-version for RHGS 3.3.1-async */
|
|
|
887953 |
#define GD_OP_VERSION_3_13_3 31303 /* Op-version for RHGS-3.4-Batch Update-1*/
|
|
|
887953 |
diff --git a/xlators/mgmt/glusterd/src/glusterd-volume-set.c b/xlators/mgmt/glusterd/src/glusterd-volume-set.c
|
|
|
887953 |
index d442fe0..1175f1d 100644
|
|
|
887953 |
--- a/xlators/mgmt/glusterd/src/glusterd-volume-set.c
|
|
|
887953 |
+++ b/xlators/mgmt/glusterd/src/glusterd-volume-set.c
|
|
|
887953 |
@@ -3300,7 +3300,7 @@ struct volopt_map_entry glusterd_volopt_map[] = {
|
|
|
887953 |
},
|
|
|
887953 |
{ .key = "features.shard-lru-limit",
|
|
|
887953 |
.voltype = "features/shard",
|
|
|
887953 |
- .op_version = GD_OP_VERSION_4_2_0,
|
|
|
887953 |
+ .op_version = GD_OP_VERSION_3_13_4,
|
|
|
887953 |
.flags = OPT_FLAG_CLIENT_OPT,
|
|
|
887953 |
.type = NO_DOC,
|
|
|
887953 |
},
|
|
|
887953 |
--
|
|
|
887953 |
1.8.3.1
|
|
|
887953 |
|