Yanqin Jin b1f62be10e Use the right level (L0) for files written during WAL recovery (#8187)
Summary:
As the name of `DBImpl::WriteLevel0TableForRecovery` suggests, the resulting table file
should be placed on L0. However, the argument `level` passed to `BuildTable()` is -1.

We need to correct this since the level information will be useful to determine file placement.

Pull Request resolved: https://github.com/facebook/rocksdb/pull/8187

Test Plan: make check

Reviewed By: ltamasi

Differential Revision: D27748570

Pulled By: riversand963

fbshipit-source-id: e1cd23128a8de31f14b1edc2ea92754c154e4f10
2021-04-14 23:40:22 -07:00
..
2021-04-09 10:39:11 -07:00
2020-06-15 10:47:02 -07:00
2021-03-25 21:18:08 -07:00
2021-03-25 21:18:08 -07:00
2021-03-25 21:18:08 -07:00
2020-12-23 16:55:53 -08:00
2021-03-25 21:18:08 -07:00
2020-12-09 16:02:12 -08:00