-
Notifications
You must be signed in to change notification settings - Fork 610
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
use policies for memory prediction on compaction #1130
use policies for memory prediction on compaction #1130
Conversation
⚪
|
⚪
|
private: | ||
ui64 SumMemory = 0; | ||
public: | ||
virtual ui64 AddPortion(const std::shared_ptr<TPortionInfo>& portionInfo) override { |
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.
nit: In override methods we don't have to write virtual.
Changelog entry
use raw bytes for optimizer limit (take portions while sum raw bytes less then limit)
Changelog category
Additional information
...