-
Notifications
You must be signed in to change notification settings - Fork 6.1k
Fast restart on busy parents #19964
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
Fast restart on busy parents #19964
Conversation
@ktsaou we are at >= 1.5K LOC already. It's better to work on the rest of the items in another PR. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@ktsaou we are at >= 1.5K LOC already. It's better to work on the rest of the items in another PR.
I also strongly second this point. We need to be better about not making huge PRs. They’re problematic to deal with when they cause a major issue, and they’re impossible to sanely backport for patch releases.
Imported version is LMDB_0.9.31. We only rely on 4 files. However, considering that project is very small and everything's in a single directory, I opted for simply copying everything.
Remove save to file and watcher Remove files / rename mrg-dump-load to mrg-load.c Update CMakeLists.txt
Prepopulate UUIDs to MRG to improve startup times. - [x] Pre-populate UUIDs to MRG on start (from SQLite) - [x] Cleanup obsolete UUIDs from MRG once finished This improves startup times by 3x to 5x. --------- Co-authored-by: vkalintiris <vasilis@netdata.cloud> Co-authored-by: Stelios Fragkakis <52996999+stelfrag@users.noreply.github.com> (cherry picked from commit 3d0c2b9)
Prepopulate UUIDs to MRG to improve startup times. - [x] Pre-populate UUIDs to MRG on start (from SQLite) - [x] Cleanup obsolete UUIDs from MRG once finished This improves startup times by 3x to 5x. --------- Co-authored-by: vkalintiris <vasilis@netdata.cloud> Co-authored-by: Stelios Fragkakis <52996999+stelfrag@users.noreply.github.com> (cherry picked from commit 3d0c2b9)
Prepopulate UUIDs to MRG to improve startup times.
This improves startup times by 3x to 5x.