rocksdb/trace_replay
Merlin Mao ff8953380f Add iterator's lower and upper bounds to TraceRecord (#8677)
Summary:
Trace file V2 added lower/upper bounds to `Iterator::Seek()` and `Iterator::SeekForPrev()`. They were not used anywhere during the execution of a `TraceRecord`. Now they are added to be used by `ReadOptions` during `Iterator::Seek()` and `Iterator::SeekForPrev()` if they are set.

Added test cases in `DBTest2.TraceAndManualReplay`.

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

Reviewed By: zhichao-cao

Differential Revision: D30438255

Pulled By: autopear

fbshipit-source-id: 82563006be0b69155990e506a74951c18af8d288
2021-08-19 17:27:12 -07:00
..
block_cache_tracer_test.cc Make TraceRecord and Replayer public (#8611) 2021-08-11 19:32:46 -07:00
block_cache_tracer.cc Make TraceRecord and Replayer public (#8611) 2021-08-11 19:32:46 -07:00
block_cache_tracer.h Use SystemClock* instead of std::shared_ptr<SystemClock> in lower level routines (#8033) 2021-03-15 04:34:11 -07:00
io_tracer_test.cc Make TraceRecord and Replayer public (#8611) 2021-08-11 19:32:46 -07:00
io_tracer.cc Add request_id in IODebugContext. (#8045) 2021-04-01 13:14:51 -07:00
io_tracer.h Make TraceRecord and Replayer public (#8611) 2021-08-11 19:32:46 -07:00
trace_record_handler.cc Add iterator's lower and upper bounds to TraceRecord (#8677) 2021-08-19 17:27:12 -07:00
trace_record_handler.h Allow Replayer to report the results of TraceRecords. (#8657) 2021-08-18 17:06:14 -07:00
trace_record_result.cc Allow Replayer to report the results of TraceRecords. (#8657) 2021-08-18 17:06:14 -07:00
trace_record.cc Add iterator's lower and upper bounds to TraceRecord (#8677) 2021-08-19 17:27:12 -07:00
trace_replay.cc Add iterator's lower and upper bounds to TraceRecord (#8677) 2021-08-19 17:27:12 -07:00
trace_replay.h Make TraceRecord and Replayer public (#8611) 2021-08-11 19:32:46 -07:00