diff options
author | Xavi Hernandez <xhernandez@redhat.com> | 2021-03-17 10:59:54 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-17 15:29:54 +0530 |
commit | 2b3e3ef08d98271d21473a5bdc341e4f2367ee56 (patch) | |
tree | 16edfe1efdb2f7ecab6e1a15ee58b66fb1996594 | |
parent | 088d8a575c59479defb5dbe8bf03f4211156df7f (diff) | |
download | glusterfs-2b3e3ef08d98271d21473a5bdc341e4f2367ee56.tar.gz glusterfs-2b3e3ef08d98271d21473a5bdc341e4f2367ee56.tar.xz glusterfs-2b3e3ef08d98271d21473a5bdc341e4f2367ee56.zip |
extras: disable lookup-optimize in virt and block groups (#2254)
lookup-optimize doesn't provide any benefit for virtualized
environments and gluster-block workloads, but it's known to cause
corruption in some cases when sharding is also enabled and the volume
is expanded or shrunk.
For this reason, we disable lookup-optimize by default on those
environments.
Fixes: #2253
Change-Id: I25861aa50b335556a995a9c33318dd3afb41bf71
Signed-off-by: Xavi Hernandez <xhernandez@redhat.com>
-rw-r--r-- | extras/group-distributed-virt | 1 | ||||
-rw-r--r-- | extras/group-gluster-block | 1 | ||||
-rw-r--r-- | extras/group-virt.example | 1 |
3 files changed, 3 insertions, 0 deletions
diff --git a/extras/group-distributed-virt b/extras/group-distributed-virt index a960b76c69..6da3de03fa 100644 --- a/extras/group-distributed-virt +++ b/extras/group-distributed-virt @@ -8,3 +8,4 @@ user.cifs=off client.event-threads=4 server.event-threads=4 performance.client-io-threads=on +cluster.lookup-optimize=off diff --git a/extras/group-gluster-block b/extras/group-gluster-block index 1e398019e6..b8d3e8d9e8 100644 --- a/extras/group-gluster-block +++ b/extras/group-gluster-block @@ -25,3 +25,4 @@ features.shard-block-size=64MB user.cifs=off server.allow-insecure=on cluster.choose-local=off +cluster.lookup-optimize=off diff --git a/extras/group-virt.example b/extras/group-virt.example index cc37c98a25..04003b7dfb 100644 --- a/extras/group-virt.example +++ b/extras/group-virt.example @@ -22,3 +22,4 @@ server.tcp-user-timeout=20 server.keepalive-time=10 server.keepalive-interval=2 server.keepalive-count=5 +cluster.lookup-optimize=off |