Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix name of rocksdb's write delay and stop stats in INFO command (#1916)
rocksdb rename the write stall stats of the DB and column family in rocksdb PR #11300, which organizes them more structurally. So it will return an empty string in the INFO command since we're still using the old stat key to fetch them. The INFO command will return "0" instead of the empty string after this patch: ``` level0_file_limit_slowdown[metadata]:0 level0_file_limit_stop[metadata]:0 pending_compaction_bytes_slowdown[metadata]:0 pending_compaction_bytes_stop[metadata]:0 level0_file_limit_stop_with_ongoing_compaction[metadata]:0 level0_file_limit_slowdown_with_ongoing_compaction[metadata]:0 memtable_count_limit_slowdown[metadata]:0 memtable_count_limit_stop[metadata]:0 ``` and the current output is: ``` level0_file_limit_slowdown[default]: level0_file_limit_stop[default]: pending_compaction_bytes_slowdown[default]: pending_compaction_bytes_stop[default]: memtable_count_limit_slowdown[default]: memtable_count_limit_stop[default]: ```
- Loading branch information