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

feat: make level_compaction_dynamic_level_bytes default true #2207

Merged
merged 1 commit into from
Dec 14, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion include/pika_conf.h
Original file line number Diff line number Diff line change
Expand Up @@ -706,7 +706,7 @@ class PikaConf : public pstd::BaseConf {
bool cache_index_and_filter_blocks_ = false;
bool pin_l0_filter_and_index_blocks_in_cache_ = false;
bool optimize_filters_for_hits_ = false;
bool level_compaction_dynamic_level_bytes_ = false;
bool level_compaction_dynamic_level_bytes_ = true;
int64_t rate_limiter_bandwidth_ = 0;
int64_t rate_limiter_refill_period_us_ = 0;
int64_t rate_limiter_fairness_ = 0;
Expand Down
2 changes: 1 addition & 1 deletion src/pika_conf.cc
Original file line number Diff line number Diff line change
Expand Up @@ -536,7 +536,7 @@ int PikaConf::Load() {

std::string lcdlb;
GetConfStr("level-compaction-dynamic-level-bytes", &lcdlb);
level_compaction_dynamic_level_bytes_ = lcdlb == "yes";
level_compaction_dynamic_level_bytes_ = lcdlb == "yes" || lcdlb.empty();

// daemonize
std::string dmz;
Expand Down
Loading