rocksdb/db/compaction
andrew 622683000c Allow users to stop manual compactions (#3971)
Summary:
Manual compaction may bring in very high load because sometime the amount of data involved in a compaction could be large, which may affect online service. So it would be good if the running compaction making the server busy can be stopped immediately. In this implementation, stopping manual compaction condition is only checked in slow process. We let deletion compaction and trivial move go through.
Pull Request resolved: https://github.com/facebook/rocksdb/pull/3971

Test Plan: add tests at more spots.

Differential Revision: D17369043

fbshipit-source-id: 575a624fb992ce0bb07d9443eb209e547740043c
2019-09-16 21:01:47 -07:00
..
compaction_iteration_stats.h Organizing rocksdb/db directory 2019-05-31 11:57:01 -07:00
compaction_iterator_test.cc Organizing rocksdb/db directory 2019-05-31 11:57:01 -07:00
compaction_iterator.cc Allow users to stop manual compactions (#3971) 2019-09-16 21:01:47 -07:00
compaction_iterator.h Allow users to stop manual compactions (#3971) 2019-09-16 21:01:47 -07:00
compaction_job_stats_test.cc simplify include directive involving inttypes (#5402) 2019-06-06 13:56:07 -07:00
compaction_job_test.cc Divide file_reader_writer.h and .cc (#5803) 2019-09-16 10:33:51 -07:00
compaction_job.cc Allow users to stop manual compactions (#3971) 2019-09-16 21:01:47 -07:00
compaction_job.h Allow users to stop manual compactions (#3971) 2019-09-16 21:01:47 -07:00
compaction_picker_fifo.cc Fix assertion failure in FIFO compaction with TTL (#5754) 2019-08-30 12:42:01 -07:00
compaction_picker_fifo.h Organizing rocksdb/db directory 2019-05-31 11:57:01 -07:00
compaction_picker_level.cc simplify include directive involving inttypes (#5402) 2019-06-06 13:56:07 -07:00
compaction_picker_level.h Organizing rocksdb/db directory 2019-05-31 11:57:01 -07:00
compaction_picker_test.cc upgrade gtest 1.7.0 => 1.8.1 for json result writing 2019-09-09 11:24:11 -07:00
compaction_picker_universal.cc Refactor UniversalCompactionPicker code a little bit (#5639) 2019-09-16 10:51:11 -07:00
compaction_picker_universal.h Refactor UniversalCompactionPicker code a little bit (#5639) 2019-09-16 10:51:11 -07:00
compaction_picker.cc simplify include directive involving inttypes (#5402) 2019-06-06 13:56:07 -07:00
compaction_picker.h Organizing rocksdb/db directory 2019-05-31 11:57:01 -07:00
compaction.cc simplify include directive involving inttypes (#5402) 2019-06-06 13:56:07 -07:00
compaction.h Organizing rocksdb/db directory 2019-05-31 11:57:01 -07:00