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

Improve mark file processing. #3762

Merged
merged 1 commit into from
May 25, 2021
Merged

Conversation

cyriltovena
Copy link
Contributor

This makes boltdb batch for deleting entries smaller and so goroutines for deletion of chunks
are not stuck.
Also improve metrics to refresh more often.

Signed-off-by: Cyril Tovena [email protected]

This makes boltdb batch for deleting entries smaller and so goroutines for deletion of chunks
are not stuck.
Also improve metrics to refresh more often.

Signed-off-by: Cyril Tovena <[email protected]>
@cyriltovena
Copy link
Contributor Author

We reached 6k/s deletes with this btw.

Copy link
Contributor

@sandeepsukhani sandeepsukhani left a comment

Choose a reason for hiding this comment

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

The code looks fine to me. It would be good to get @dannykopping's thoughts on our responses to his feedback.

Copy link
Contributor

@dannykopping dannykopping 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 89b3283 into grafana:main May 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants