From 34f1b891328e8ecd824df4368eeafa8aef46f60a Mon Sep 17 00:00:00 2001 From: Nils Wireklint Date: Tue, 12 Nov 2024 16:27:36 +0100 Subject: [PATCH] Double the number of KeyLocationMap attempts (#150) Following this commit in bb-storage: commit 45c576372791567ba0111ce79f4cfa1c0ec961ad LocalBlobAccess: Double the recommended number of attempts --- bare/config/storage.jsonnet | 8 ++++---- docker-compose/config/storage.jsonnet | 8 ++++---- docker-compose/config/worker-fuse-ubuntu22-04.jsonnet | 4 ++-- kubernetes/config/storage.jsonnet | 8 ++++---- 4 files changed, 14 insertions(+), 14 deletions(-) diff --git a/bare/config/storage.jsonnet b/bare/config/storage.jsonnet index a1038fb..b9394d8 100644 --- a/bare/config/storage.jsonnet +++ b/bare/config/storage.jsonnet @@ -16,8 +16,8 @@ local common = import 'common.libsonnet'; sizeBytes: 400 * 1024 * 1024, }, }, - keyLocationMapMaximumGetAttempts: 8, - keyLocationMapMaximumPutAttempts: 32, + keyLocationMapMaximumGetAttempts: 16, + keyLocationMapMaximumPutAttempts: 64, oldBlocks: 8, currentBlocks: 24, newBlocks: 3, @@ -49,8 +49,8 @@ local common = import 'common.libsonnet'; sizeBytes: 1024 * 1024, }, }, - keyLocationMapMaximumGetAttempts: 8, - keyLocationMapMaximumPutAttempts: 32, + keyLocationMapMaximumGetAttempts: 16, + keyLocationMapMaximumPutAttempts: 64, oldBlocks: 8, currentBlocks: 24, newBlocks: 1, diff --git a/docker-compose/config/storage.jsonnet b/docker-compose/config/storage.jsonnet index c6961dc..30c8040 100644 --- a/docker-compose/config/storage.jsonnet +++ b/docker-compose/config/storage.jsonnet @@ -16,8 +16,8 @@ local common = import 'common.libsonnet'; sizeBytes: 400 * 1024 * 1024, }, }, - keyLocationMapMaximumGetAttempts: 8, - keyLocationMapMaximumPutAttempts: 32, + keyLocationMapMaximumGetAttempts: 16, + keyLocationMapMaximumPutAttempts: 64, oldBlocks: 8, currentBlocks: 24, newBlocks: 3, @@ -49,8 +49,8 @@ local common = import 'common.libsonnet'; sizeBytes: 1024 * 1024, }, }, - keyLocationMapMaximumGetAttempts: 8, - keyLocationMapMaximumPutAttempts: 32, + keyLocationMapMaximumGetAttempts: 16, + keyLocationMapMaximumPutAttempts: 64, oldBlocks: 8, currentBlocks: 24, newBlocks: 1, diff --git a/docker-compose/config/worker-fuse-ubuntu22-04.jsonnet b/docker-compose/config/worker-fuse-ubuntu22-04.jsonnet index 3836a26..6ca1cab 100644 --- a/docker-compose/config/worker-fuse-ubuntu22-04.jsonnet +++ b/docker-compose/config/worker-fuse-ubuntu22-04.jsonnet @@ -16,8 +16,8 @@ local common = import 'common.libsonnet'; sizeBytes: 400 * 1024 * 1024, }, }, - keyLocationMapMaximumGetAttempts: 8, - keyLocationMapMaximumPutAttempts: 32, + keyLocationMapMaximumGetAttempts: 16, + keyLocationMapMaximumPutAttempts: 64, oldBlocks: 8, currentBlocks: 24, newBlocks: 3, diff --git a/kubernetes/config/storage.jsonnet b/kubernetes/config/storage.jsonnet index c6961dc..30c8040 100644 --- a/kubernetes/config/storage.jsonnet +++ b/kubernetes/config/storage.jsonnet @@ -16,8 +16,8 @@ local common = import 'common.libsonnet'; sizeBytes: 400 * 1024 * 1024, }, }, - keyLocationMapMaximumGetAttempts: 8, - keyLocationMapMaximumPutAttempts: 32, + keyLocationMapMaximumGetAttempts: 16, + keyLocationMapMaximumPutAttempts: 64, oldBlocks: 8, currentBlocks: 24, newBlocks: 3, @@ -49,8 +49,8 @@ local common = import 'common.libsonnet'; sizeBytes: 1024 * 1024, }, }, - keyLocationMapMaximumGetAttempts: 8, - keyLocationMapMaximumPutAttempts: 32, + keyLocationMapMaximumGetAttempts: 16, + keyLocationMapMaximumPutAttempts: 64, oldBlocks: 8, currentBlocks: 24, newBlocks: 1,