rocksdb/utilities/trace
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
..
file_trace_reader_writer.cc Make TraceRecord and Replayer public (#8611) 2021-08-11 19:32:46 -07:00
file_trace_reader_writer.h Make TraceRecord and Replayer public (#8611) 2021-08-11 19:32:46 -07:00
replayer_impl.cc Allow Replayer to report the results of TraceRecords. (#8657) 2021-08-18 17:06:14 -07:00
replayer_impl.h Allow Replayer to report the results of TraceRecords. (#8657) 2021-08-18 17:06:14 -07:00