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

use policies for memory prediction on compaction #1130

Merged

Conversation

ivanmorozov333
Copy link
Collaborator

Changelog entry

use raw bytes for optimizer limit (take portions while sum raw bytes less then limit)

Changelog category

  • Improvement

Additional information

...

Copy link

github-actions bot commented Jan 18, 2024

2024-01-19 10:11:43 UTC Pre-commit check for 40a81b2 has started.
2024-01-19 10:11:44 UTC Build linux-x86_64-release-asan is running...
🟢 2024-01-19 10:14:06 UTC Build successful.
2024-01-19 10:14:19 UTC Tests are running...
🔴 2024-01-19 11:48:34 UTC Some tests failed, follow the links below.

Test history

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
15899 15810 0 16 51 22

Copy link

github-actions bot commented Jan 18, 2024

2024-01-19 10:11:29 UTC Pre-commit check for 40a81b2 has started.
2024-01-19 10:11:30 UTC Build linux-x86_64-relwithdebinfo is running...
🟢 2024-01-19 10:14:19 UTC Build successful.
2024-01-19 10:14:28 UTC Tests are running...
🔴 2024-01-19 11:27:25 UTC Some tests failed, follow the links below.

Test history

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
59962 50721 0 6 9222 13

@ivanmorozov333 ivanmorozov333 changed the title use raw bytes for optimizer limiter use policies for memory prediction on compaction Jan 18, 2024
private:
ui64 SumMemory = 0;
public:
virtual ui64 AddPortion(const std::shared_ptr<TPortionInfo>& portionInfo) override {
Copy link
Contributor

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.

@starlinskiy starlinskiy mentioned this pull request Feb 12, 2024
@vitstn vitstn mentioned this pull request Feb 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants