|
|
@ -312,7 +312,7 @@ void ColumnFamilyOptions::Dump(Logger* log) const { |
|
|
|
str_compaction_style = it_compaction_style->second; |
|
|
|
str_compaction_style = it_compaction_style->second; |
|
|
|
} |
|
|
|
} |
|
|
|
ROCKS_LOG_HEADER(log, |
|
|
|
ROCKS_LOG_HEADER(log, |
|
|
|
" Options.compaction_style: %s", |
|
|
|
" Options.compaction_style: %s", |
|
|
|
str_compaction_style.c_str()); |
|
|
|
str_compaction_style.c_str()); |
|
|
|
|
|
|
|
|
|
|
|
const auto& it_compaction_pri = |
|
|
|
const auto& it_compaction_pri = |
|
|
@ -325,10 +325,10 @@ void ColumnFamilyOptions::Dump(Logger* log) const { |
|
|
|
str_compaction_pri = it_compaction_pri->second; |
|
|
|
str_compaction_pri = it_compaction_pri->second; |
|
|
|
} |
|
|
|
} |
|
|
|
ROCKS_LOG_HEADER(log, |
|
|
|
ROCKS_LOG_HEADER(log, |
|
|
|
" Options.compaction_pri: %s", |
|
|
|
" Options.compaction_pri: %s", |
|
|
|
str_compaction_pri.c_str()); |
|
|
|
str_compaction_pri.c_str()); |
|
|
|
ROCKS_LOG_HEADER(log, |
|
|
|
ROCKS_LOG_HEADER(log, |
|
|
|
" Options.compaction_options_universal.size_ratio: %u", |
|
|
|
"Options.compaction_options_universal.size_ratio: %u", |
|
|
|
compaction_options_universal.size_ratio); |
|
|
|
compaction_options_universal.size_ratio); |
|
|
|
ROCKS_LOG_HEADER(log, |
|
|
|
ROCKS_LOG_HEADER(log, |
|
|
|
"Options.compaction_options_universal.min_merge_width: %u", |
|
|
|
"Options.compaction_options_universal.min_merge_width: %u", |
|
|
@ -345,6 +345,19 @@ void ColumnFamilyOptions::Dump(Logger* log) const { |
|
|
|
log, |
|
|
|
log, |
|
|
|
"Options.compaction_options_universal.compression_size_percent: %d", |
|
|
|
"Options.compaction_options_universal.compression_size_percent: %d", |
|
|
|
compaction_options_universal.compression_size_percent); |
|
|
|
compaction_options_universal.compression_size_percent); |
|
|
|
|
|
|
|
const auto& it_compaction_stop_style = compaction_stop_style_to_string.find( |
|
|
|
|
|
|
|
compaction_options_universal.stop_style); |
|
|
|
|
|
|
|
std::string str_compaction_stop_style; |
|
|
|
|
|
|
|
if (it_compaction_stop_style == compaction_stop_style_to_string.end()) { |
|
|
|
|
|
|
|
assert(false); |
|
|
|
|
|
|
|
str_compaction_stop_style = |
|
|
|
|
|
|
|
"unknown_" + std::to_string(compaction_options_universal.stop_style); |
|
|
|
|
|
|
|
} else { |
|
|
|
|
|
|
|
str_compaction_stop_style = it_compaction_stop_style->second; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
ROCKS_LOG_HEADER(log, |
|
|
|
|
|
|
|
"Options.compaction_options_universal.stop_style: %s", |
|
|
|
|
|
|
|
str_compaction_stop_style.c_str()); |
|
|
|
ROCKS_LOG_HEADER( |
|
|
|
ROCKS_LOG_HEADER( |
|
|
|
log, "Options.compaction_options_fifo.max_table_files_size: %" PRIu64, |
|
|
|
log, "Options.compaction_options_fifo.max_table_files_size: %" PRIu64, |
|
|
|
compaction_options_fifo.max_table_files_size); |
|
|
|
compaction_options_fifo.max_table_files_size); |
|
|
|