Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pkg/ingester: Added possibility to disable transfers. #1425

Merged
merged 1 commit into from
Dec 16, 2019
Merged

pkg/ingester: Added possibility to disable transfers. #1425

merged 1 commit into from
Dec 16, 2019

Conversation

pstibrany
Copy link
Member

@pstibrany pstibrany commented Dec 16, 2019

What this PR does / why we need it:
Previously, with -ingester.max-transfer-retries set to zero, transfers would never stop. Now zero means don't transfer at all.

Note: this is in line with how Cortex works.

Checklist

  • Documentation added
  • Tests updated

Previously, with -ingester.max-transfer-retries set to zero,
transfers would never stop. Now zero means don't transfer at all.

Signed-off-by: Peter Štibraný <peter.stibrany@grafana.com>
Copy link
Member

@rfratto rfratto left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks!

@rfratto rfratto merged commit 93b85f9 into grafana:master Dec 16, 2019
@pstibrany pstibrany deleted the disable-transfers branch December 16, 2019 16:26
rfratto added a commit that referenced this pull request Jan 24, 2020
#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.
cyriltovena pushed a commit that referenced this pull request Jan 24, 2020
* 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
mraboosk pushed a commit to mraboosk/loki that referenced this pull request Oct 7, 2024
* Disable transfers in loki-local-config.yaml

grafana#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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants