rocksdb/db/compaction
Maysam Yabandeh ab3e6f6476 Disable snapshot refresh feature when snap_refresh_nanos is 0 (#5724)
Summary:
The comments of snap_refresh_nanos advertise that the snapshot refresh feature will be disabled when the option is set to 0. This contract is however not honored in the code: https://github.com/facebook/rocksdb/pull/5278
The patch fixes that and also adds an assert to ensure that the feature is not used when the option  is zero.
Pull Request resolved: https://github.com/facebook/rocksdb/pull/5724

Differential Revision: D16918185

Pulled By: maysamyabandeh

fbshipit-source-id: fec167287df7d85093e087fc39c0eb243e3bbd7e
2019-08-20 13:23:10 -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 Organizing rocksdb/db directory 2019-05-31 11:57:01 -07:00
compaction_iterator.h Disable snapshot refresh feature when snap_refresh_nanos is 0 (#5724) 2019-08-20 13:23:10 -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 Disable snapshot refresh feature when snap_refresh_nanos is 0 (#5724) 2019-08-20 13:23:10 -07:00
compaction_job.cc Add more callers for table reader. (#5454) 2019-06-20 14:31:48 -07:00
compaction_job.h Move some logging related files to logging/ (#5387) 2019-05-31 17:23:59 -07:00
compaction_picker_fifo.cc simplify include directive involving inttypes (#5402) 2019-06-06 13:56:07 -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 Move some logging related files to logging/ (#5387) 2019-05-31 17:23:59 -07:00
compaction_picker_universal.cc simplify include directive involving inttypes (#5402) 2019-06-06 13:56:07 -07:00
compaction_picker_universal.h Organizing rocksdb/db directory 2019-05-31 11:57:01 -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