db_stress: sometimes call CancelAllBackgroundWork() and Close() before closing DB (#6141)
Summary: CancelAllBackgroundWork() and Close() are frequently used features but we don't cover it in stress test. Simply execute them before closing the DB with 1/2 chance. Pull Request resolved: https://github.com/facebook/rocksdb/pull/6141 Test Plan: Run "db_stress". Differential Revision: D18900861 fbshipit-source-id: 49b46ccfae120d0f9de3e0543b82fb6d715949d0main
parent
984b6e71d6
commit
7a99162a74
Loading…
Reference in new issue