mirror of https://github.com/facebook/rocksdb.git
Print data block index options to info log (#5039)
Summary: Print data block index type related options to info log Pull Request resolved: https://github.com/facebook/rocksdb/pull/5039 Differential Revision: D14387718 Pulled By: miasantreble fbshipit-source-id: 9df8f82eea83a8344c7d12a712486f656691bc4a
This commit is contained in:
parent
04d3ac4e63
commit
62eb2c23aa
|
@ -296,6 +296,12 @@ std::string BlockBasedTableFactory::GetPrintableTableOptions() const {
|
|||
snprintf(buffer, kBufferSize, " index_type: %d\n",
|
||||
table_options_.index_type);
|
||||
ret.append(buffer);
|
||||
snprintf(buffer, kBufferSize, " data_block_index_type: %d\n",
|
||||
table_options_.data_block_index_type);
|
||||
ret.append(buffer);
|
||||
snprintf(buffer, kBufferSize, " data_block_hash_table_util_ratio: %lf\n",
|
||||
table_options_.data_block_hash_table_util_ratio);
|
||||
ret.append(buffer);
|
||||
snprintf(buffer, kBufferSize, " hash_index_allow_collision: %d\n",
|
||||
table_options_.hash_index_allow_collision);
|
||||
ret.append(buffer);
|
||||
|
|
Loading…
Reference in New Issue