rocksdb/trace_replay
Merlin Mao d10801e983 Allow Replayer to report the results of TraceRecords. (#8657)
Summary:
`Replayer::Execute()` can directly returns the result (e.g, request latency, DB::Get() return code, returned value, etc.)
`Replayer::Replay()` reports the results via a callback function.

New interface:
`TraceRecordResult` in "rocksdb/trace_record_result.h".

`DBTest2.TraceAndReplay` and `DBTest2.TraceAndManualReplay` are updated accordingly.

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

Reviewed By: ajkr

Differential Revision: D30290216

Pulled By: autopear

fbshipit-source-id: 3c8d4e6b180ec743de1a9d9dcaee86064c74f0d6
2021-08-18 17:06:14 -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 Allow Replayer to report the results of TraceRecords. (#8657) 2021-08-18 17:06:14 -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 Allow Replayer to report the results of TraceRecords. (#8657) 2021-08-18 17:06:14 -07:00
trace_replay.cc Allow Replayer to report the results of TraceRecords. (#8657) 2021-08-18 17:06:14 -07:00
trace_replay.h Make TraceRecord and Replayer public (#8611) 2021-08-11 19:32:46 -07:00