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

fix: Refactor Badger Cleanup on start #682

Merged
merged 1 commit into from
Feb 13, 2020
Merged

fix: Refactor Badger Cleanup on start #682

merged 1 commit into from
Feb 13, 2020

Conversation

vcastellm
Copy link
Member

@vcastellm vcastellm commented Feb 13, 2020

This PR fixes memory consumption on startup even.

Using Badger DropAll is an expensive operation, switching to a cleaner method just removing Badger dir and recreating it on start.

partially fixes #660
fixes #680

Using Badger DropAll is an expensive operation, switching to a cleaner method just removing Badger dir and recreating it on start.
@vcastellm vcastellm merged commit cd8cd32 into master Feb 13, 2020
@vcastellm vcastellm deleted the fix_mem_usage branch February 13, 2020 23:08
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.

boltdb for no-cluster setups usage of memory and disk grow rapidly
1 participant