Jay Zhuang 5881f4ac50 Fix DeleteFilesInRange may cause inconsistent compaction error (#8434)
Summary:
`DeleteFilesInRange()` marks deleting files to `being_compacted`
before deleting, which may cause ongoing compactions report corruption
exception or ASSERT for debug build.

Adding the missing `ComputeCompactionScore()` when `being_compacted` is set.

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

Test Plan: Unittest

Reviewed By: ajkr

Differential Revision: D29276127

Pulled By: jay-zhuang

fbshipit-source-id: f5b223e3c1fc6d821e100e3f3442bc70c1d50cf7
2021-06-22 09:26:15 -07:00
..
2020-06-15 10:47:02 -07:00
2021-06-07 11:41:31 -07:00
2021-03-25 21:18:08 -07:00
2020-12-23 16:55:53 -08:00
2020-12-09 16:02:12 -08:00