sdong 9e885939a3 Change to code for trimmed memtable history is to released outside DB mutex (#8530)
Summary:
Currently, the code shows that we delete memtables immedately after it is trimmed from history. Although it should never happen as the super version still holds the memtable, which is only switched after it, it feels a good practice not to do it, but use clean it up in the standard way: put it to WriteContext and clean it after DB mutex.

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

Test Plan: Run all existing tests.

Reviewed By: ajkr

Differential Revision: D29703410

fbshipit-source-id: 21d8068ac6377de4b6fa7a89697195742659fde4
2021-07-16 19:28:48 -07:00
..
2021-07-09 16:22:48 -07:00
2021-07-09 16:22:48 -07:00
2020-06-15 10:47:02 -07:00
2021-03-25 21:18:08 -07:00
2021-07-15 17:49:13 -07:00
2021-07-15 17:49:13 -07:00
2021-07-15 17:49:13 -07:00
2021-07-15 17:49:13 -07:00
2021-07-15 17:49:13 -07:00
2021-07-15 17:49:13 -07:00
2020-12-09 16:02:12 -08:00