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