Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
store: cancel background RocksDB tasks before closing the database (#…
…4429) Per RocksDB FAQ: > Q: Is it safe to close RocksDB while another thread is issuing read, > write or manual compaction requests? > A: No. The users of RocksDB need to make sure all functions have > finished before they close RocksDB. You can speed up the waiting > by calling CancelAllBackgroundWork(). Better be safe than sorry so add the call before the rocksdb::DB object is dropped. Fixes: #3266
- Loading branch information