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

Solved problem with different number of metrics in trie index and on disk #499

Merged
merged 4 commits into from
Oct 6, 2022

Conversation

auguzun
Copy link
Contributor

@auguzun auguzun commented Sep 30, 2022

Problem: during go carbon server provisioning if creation throttling was on we had different number of metrics in trie index and on disk. It happened because we added throttled file to the index, instead of deleting it.
Solution:
I moved creation throttle logic to trie.go as well as related metrics.
So write now to metric goes first to Add, here it may be throttled or may be passed thru to store function.

…isk, moved creation throttle logic to trie index. fixed a bug in hard throttle helper
@auguzun auguzun merged commit acb65d6 into master Oct 6, 2022
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.

3 participants