-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[#3745] docdb: Added flag for making log cache memory percent-based.
Summary: Added the global_log_cache_size_limit_percentage flag for log cache. Split the existing TestGlobalMemoryLimit test to TestGlobalMemoryLimitAbsolute (which uses the absolute memory limit) and TestGlboalMemoryLimitPercentage (which uses the new percentage-based memory limit). Removed a flag from tablet_memory_manager (should_count_memory) which was always true according the CHECK statement after it (verified with @jmeehan). Test Plan: ybd --cxx_test consensus_log_cache-test --gtest-filter LogCacheTest.TestGlobalMemoryLimit* Reviewers: rsami, jmeehan Reviewed By: jmeehan Subscribers: jason, jmeehan, ybase, bogdan Differential Revision: https://phabricator.dev.yugabyte.com/D13518
- Loading branch information
1 parent
31b5e65
commit baa9966
Showing
4 changed files
with
52 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters