Maysam Yabandeh c4a37dcb44 Print the missed last layer in cfstats
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: 361010d44738de48ffc4fd9add70caa0891a0719 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 DumpCFMapStats 361010d447/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
2017-02-08 10:39:15 -08:00
..
2017-02-06 14:54:18 -08:00
2016-11-21 12:24:13 -08:00
2016-11-19 14:24:12 -08:00
2017-01-20 13:24:13 -08:00
2017-01-27 17:39:16 -08:00
2017-02-06 14:54:18 -08:00
2017-02-06 14:54:18 -08:00
2017-01-08 14:24:12 -08:00
2017-02-06 14:54:18 -08:00
2017-02-06 14:54:18 -08:00
2017-02-06 14:54:18 -08:00
2017-02-06 14:54:18 -08:00
2017-01-08 14:24:12 -08:00
2016-11-04 12:09:22 -07:00
2017-02-06 14:54:18 -08:00
2017-01-23 12:54:13 -08:00
2017-02-06 14:54:18 -08:00
2017-02-06 16:39:12 -08:00
2017-02-06 16:39:12 -08:00
2017-02-06 14:54:18 -08:00
2017-02-06 14:54:18 -08:00
2016-12-19 16:54:12 -08:00
2017-02-06 14:54:18 -08:00
2016-07-08 17:50:51 -07:00
2017-02-06 14:54:18 -08:00
2016-10-13 08:48:40 -07:00
2016-07-08 17:50:51 -07:00
2016-11-03 18:54:20 -07:00
2017-02-06 14:54:18 -08:00
2017-02-06 14:54:18 -08:00
2016-12-29 15:54:19 -08:00
2016-11-19 14:24:12 -08:00
2016-09-27 18:20:57 -07:00
2016-09-27 18:20:57 -07:00
2017-02-06 14:54:18 -08:00
2016-07-13 15:36:22 -07:00
2017-02-06 14:54:18 -08:00
2016-11-21 18:09:13 -08:00