Summary: Printing compaction stats used to operate on two variable: number_levels_: for printing the layer num_levels_to_check: for updating the compaction score After this commit:main361010d447
these two are mixed up and as a result the last layer might not be printed out: https://fb.facebook.com/groups/rocksdb.internal/permalink/1315716625143616/ number_levels_ was used to decide which layers to print:672300f47f/db/internal_stats.cc (L753)
but after the patch it is based on the return value of DumpCFMapStats361010d447/db/internal_stats.cc (L929)
which returns num_levels_to_check:361010d447/db/internal_stats.cc (L917)
Closes https://github.com/facebook/rocksdb/pull/1853 Differential Revision: D4529280 Pulled By: maysamyabandeh fbshipit-source-id: 3fd9448
parent
a12818afc0
commit
c4a37dcb44
Loading…
Reference in new issue