rocksdb/db/db_impl
Jay Zhuang f94fce8623 DisableManualCompaction may fail to cancel an unscheduled task (#9659)
Summary:
https://github.com/facebook/rocksdb/issues/9625 didn't change the unschedule condition which was waiting for the background thread to clean-up the compaction.
make sure we only unschedule the task when it's scheduled.

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

Reviewed By: ajkr

Differential Revision: D34651820

Pulled By: jay-zhuang

fbshipit-source-id: 23f42081b15ec8886cd81cbf131b116e0c74dc2f
2022-03-22 18:08:09 -07:00
..
compacted_db_impl.cc Cleanup includes in dbformat.h (#8930) 2021-09-29 04:04:40 -07:00
compacted_db_impl.h Move compacted_db_impl.[c|h] to db/db_impl (#8082) 2021-03-23 13:49:26 -07:00
db_impl_compaction_flush.cc DisableManualCompaction may fail to cancel an unscheduled task (#9659) 2022-03-22 18:08:09 -07:00
db_impl_debug.cc Fix a silent data loss for write-committed txn (#9571) 2022-02-17 15:37:59 -08:00
db_impl_experimental.cc Get DBTest passing Assert Status Checked (#7737) 2021-12-09 11:00:17 -08:00
db_impl_files.cc Fix a silent data loss for write-committed txn (#9571) 2022-02-17 15:37:59 -08:00
db_impl_open.cc Fix a silent data loss for write-committed txn (#9571) 2022-02-17 15:37:59 -08:00
db_impl_readonly.cc Fix PinSelf() read-after-free in DB::GetMergeOperands() (#9507) 2022-03-07 15:40:07 -08:00
db_impl_readonly.h RocksJava - Add errorIfLogFileExists parameter to RocksDB.openReadOnly (#7046) 2020-09-17 15:41:25 -07:00
db_impl_secondary.cc Fix PinSelf() read-after-free in DB::GetMergeOperands() (#9507) 2022-03-07 15:40:07 -08:00
db_impl_secondary.h Add commit marker with timestamp (#9266) 2021-12-10 11:05:35 -08:00
db_impl_write.cc Added TraceOptions::preserve_write_order (#9334) 2021-12-28 15:04:26 -08:00
db_impl.cc Fix PinSelf() read-after-free in DB::GetMergeOperands() (#9507) 2022-03-07 15:40:07 -08:00
db_impl.h DisableManualCompaction may fail to cancel an unscheduled task (#9659) 2022-03-22 18:08:09 -07:00