|
|
74096c |
From 88523814fe296c9cc9f7619e06210830f59c5edf Mon Sep 17 00:00:00 2001
|
|
|
74096c |
From: Xavi Hernandez <xhernandez@redhat.com>
|
|
|
74096c |
Date: Fri, 12 Mar 2021 10:32:09 +0100
|
|
|
74096c |
Subject: [PATCH 539/539] extras: disable lookup-optimize in virt and block
|
|
|
74096c |
groups
|
|
|
74096c |
|
|
|
74096c |
lookup-optimize doesn't provide any benefit for virtualized
|
|
|
74096c |
environments and gluster-block workloads, but it's known to cause
|
|
|
74096c |
corruption in some cases when sharding is also enabled and the volume
|
|
|
74096c |
is expanded or shrunk.
|
|
|
74096c |
|
|
|
74096c |
For this reason, we disable lookup-optimize by default on those
|
|
|
74096c |
environments.
|
|
|
74096c |
|
|
|
74096c |
Backport of:
|
|
|
74096c |
> Upstream-patch-link: https://github.com/gluster/glusterfs/pull/2254
|
|
|
74096c |
> Fixes: #2253
|
|
|
74096c |
> Change-Id: I25861aa50b335556a995a9c33318dd3afb41bf71
|
|
|
74096c |
> Signed-off-by: Xavi Hernandez <xhernandez@redhat.com>
|
|
|
74096c |
|
|
|
74096c |
BUG: 1939372
|
|
|
74096c |
Change-Id: I25861aa50b335556a995a9c33318dd3afb41bf71
|
|
|
74096c |
Signed-off-by: Xavi Hernandez <xhernandez@redhat.com>
|
|
|
74096c |
Reviewed-on: https://code.engineering.redhat.com/gerrit/231173
|
|
|
74096c |
Tested-by: RHGS Build Bot <nigelb@redhat.com>
|
|
|
74096c |
Reviewed-by: Sunil Kumar Heggodu Gopala Acharya <sheggodu@redhat.com>
|
|
|
74096c |
---
|
|
|
74096c |
extras/group-distributed-virt | 1 +
|
|
|
74096c |
extras/group-gluster-block | 1 +
|
|
|
74096c |
extras/group-virt.example | 1 +
|
|
|
74096c |
3 files changed, 3 insertions(+)
|
|
|
74096c |
|
|
|
74096c |
diff --git a/extras/group-distributed-virt b/extras/group-distributed-virt
|
|
|
74096c |
index a960b76..6da3de0 100644
|
|
|
74096c |
--- a/extras/group-distributed-virt
|
|
|
74096c |
+++ b/extras/group-distributed-virt
|
|
|
74096c |
@@ -8,3 +8,4 @@ user.cifs=off
|
|
|
74096c |
client.event-threads=4
|
|
|
74096c |
server.event-threads=4
|
|
|
74096c |
performance.client-io-threads=on
|
|
|
74096c |
+cluster.lookup-optimize=off
|
|
|
74096c |
diff --git a/extras/group-gluster-block b/extras/group-gluster-block
|
|
|
74096c |
index 1e39801..b8d3e8d 100644
|
|
|
74096c |
--- a/extras/group-gluster-block
|
|
|
74096c |
+++ b/extras/group-gluster-block
|
|
|
74096c |
@@ -25,3 +25,4 @@ features.shard-block-size=64MB
|
|
|
74096c |
user.cifs=off
|
|
|
74096c |
server.allow-insecure=on
|
|
|
74096c |
cluster.choose-local=off
|
|
|
74096c |
+cluster.lookup-optimize=off
|
|
|
74096c |
diff --git a/extras/group-virt.example b/extras/group-virt.example
|
|
|
74096c |
index 3a441eb..155f5f5 100644
|
|
|
74096c |
--- a/extras/group-virt.example
|
|
|
74096c |
+++ b/extras/group-virt.example
|
|
|
74096c |
@@ -21,3 +21,4 @@ server.tcp-user-timeout=20
|
|
|
74096c |
server.keepalive-time=10
|
|
|
74096c |
server.keepalive-interval=2
|
|
|
74096c |
server.keepalive-count=5
|
|
|
74096c |
+cluster.lookup-optimize=off
|
|
|
74096c |
--
|
|
|
74096c |
1.8.3.1
|
|
|
74096c |
|