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

Do not retry chunks transferring on shutdown in the local dev env #1085

Merged

Conversation

pracucci
Copy link
Contributor

What this PR does / why we need it:

When running Loki with the sample config loki-local-config.yaml, it takes about 10 seconds to shutdown due to the default ingester's max_transfer_retries setting. However, this is usually not a real use case for the local run and I would suggest to set it to 1 (0 would mean "infinite) to have a nearly-instant shutdown.

Special notes for your reviewer:

Checklist

  • Documentation added
  • Tests updated

Copy link
Contributor

@cyriltovena cyriltovena left a comment

Choose a reason for hiding this comment

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

LGTM

@cyriltovena cyriltovena merged commit bf5eabe into grafana:master Oct 3, 2019
@pracucci pracucci deleted the fast-loki-shutdown-in-local-dev-env branch October 3, 2019 16:39
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