mirror of https://github.com/facebook/rocksdb.git
4f584652ab
Summary: Adding an option to wait for purge to complete in `WaitForCompact` API. Internally, RocksDB has a way to wait for purge to complete (e.g. TEST_WaitForPurge() in db_impl_debug.cc), but there's no public API available for gracefully wait for purge to complete. Pull Request resolved: https://github.com/facebook/rocksdb/pull/12520 Test Plan: Unit Test Added - `WaitForCompactWithWaitForPurgeOptionTest` ``` ./deletefile_test -- --gtest_filter="*WaitForCompactWithWaitForPurgeOptionTest*" ``` Existing Tests ``` ./db_compaction_test -- --gtest_filter="*WaitForCompactWithOption*" ``` Reviewed By: ajkr Differential Revision: D55888283 Pulled By: jaykorean fbshipit-source-id: cfc6d6e8657deaefab8961890b36e390095c9f65 |
||
---|---|---|
.. | ||
.gitkeep | ||
cache_dumper.md | ||
get_entity_from_batch_and_db.md | ||
multi_cf_iterators.md | ||
multi_get_entity_from_batch_and_db.md | ||
sst_file_reader_raw_table_iterator.md | ||
wait_for_purge_option.md |