From 887f0cce7b818b226ceefc91160c2dd2c2c9ac7b Mon Sep 17 00:00:00 2001 From: Robert Fratto Date: Fri, 24 Jan 2020 15:24:55 -0500 Subject: [PATCH] Disable transfers in loki-local-config.yaml (#1579) * Disable transfers in loki-local-config.yaml #1425 added the ability to disable transfers by setting the max amount of retries to zero or lower. The PR, however, didn't change the default setting in loki-local-config.yaml. This commit changes the setting in loki-local-config.yaml to disable transfers since they would never succeed with the default settings of an inmemory ring anyway. * Set `max_transfer_retries` to 0 in helm charts --- cmd/loki/loki-local-config.yaml | 2 +- production/helm/loki/values.yaml | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/cmd/loki/loki-local-config.yaml b/cmd/loki/loki-local-config.yaml index dee8e0dbfe68..21b2ca254e5e 100644 --- a/cmd/loki/loki-local-config.yaml +++ b/cmd/loki/loki-local-config.yaml @@ -13,7 +13,7 @@ ingester: final_sleep: 0s chunk_idle_period: 5m chunk_retain_period: 30s - max_transfer_retries: 1 + max_transfer_retries: 0 schema_config: configs: diff --git a/production/helm/loki/values.yaml b/production/helm/loki/values.yaml index 698f030d56cd..85a94389f3f3 100644 --- a/production/helm/loki/values.yaml +++ b/production/helm/loki/values.yaml @@ -24,6 +24,7 @@ config: chunk_idle_period: 3m chunk_block_size: 262144 chunk_retain_period: 1m + max_transfer_retries: 0 lifecycler: ring: kvstore: