You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Sagar Vemuri
12b6cdeed3
Trace and Replay for RocksDB ( #3837 )
...
Summary:
A framework for tracing and replaying RocksDB operations.
A binary trace file is created by capturing the DB operations, and it can be replayed back at the same rate using db_bench.
- Column-families are supported
- Multi-threaded tracing is supported.
- TraceReader and TraceWriter are exposed to the user, so that tracing to various destinations can be enabled (say, to other messaging/logging services). By default, a FileTraceReader and FileTraceWriter are implemented to capture to a file and replay from it.
- This is not yet ideal to be enabled in production due to large performance overhead, but it can be safely tried out in a shadow setup, say, for analyzing RocksDB operations.
Currently supported DB operations:
- Writes:
-- Put
-- Merge
-- Delete
-- SingleDelete
-- DeleteRange
-- Write
- Reads:
-- Get (point lookups)
Pull Request resolved: https://github.com/facebook/rocksdb/pull/3837
Differential Revision: D7974837
Pulled By: sagar0
fbshipit-source-id: 8ec65aaf336504bc1f6ed0feae67f6ed5ef97a72
6 years ago
..
utilities
WriteUnPrepared: Implement unprepared batches for transactions ( #4104 )
7 years ago
advanced_options.h
Allow ttl to be changed dynamically ( #4133 )
7 years ago
c.h
Remove managed iterator
7 years ago
cache.h
LRUCache midpoint insertion
7 years ago
cleanable.h
Fix some typos in comments and docs.
7 years ago
compaction_filter.h
Comment out unused variables
7 years ago
compaction_job_stats.h
Fix some typos in comments and docs.
7 years ago
comparator.h
use user_key and iterate_upper_bound to determine compatibility of bloom filters ( #3899 )
7 years ago
convenience.h
Delete files in multiple ranges at once
7 years ago
db.h
Trace and Replay for RocksDB ( #3837 )
6 years ago
db_bench_tool.h
Change RocksDB License
8 years ago
db_dump_tool.h
Fix some typos in comments and docs.
7 years ago
env.h
In delete scheduler, before ftruncate file for slow delete, check whether there is other hard links ( #4093 )
7 years ago
env_encryption.h
Fix some typos in comments and docs.
7 years ago
experimental.h
Change RocksDB License
8 years ago
filter_policy.h
Comment out unused variables
7 years ago
flush_block_policy.h
Change RocksDB License
8 years ago
iostats_context.h
Change RocksDB License
8 years ago
iterator.h
Change and clarify the relationship between Valid(), status() and Seek*() for all iterators. Also fix some bugs
7 years ago
ldb_tool.h
Change RocksDB License
8 years ago
listener.h
Improve visibility into the reasons for compaction.
7 years ago
memtablerep.h
InlineSkiplist: don't decode keys unnecessarily during comparisons
7 years ago
merge_operator.h
Update comments about MergeOperator::AllowSingleOperand
7 years ago
metadata.h
Fix coverity issues in include/rocksdb
7 years ago
options.h
Trace and Replay for RocksDB ( #3837 )
6 years ago
perf_context.h
Improve write time breakdown stats
7 years ago
perf_level.h
Change RocksDB License
8 years ago
persistent_cache.h
Change RocksDB License
8 years ago
rate_limiter.h
Comment out unused variables
7 years ago
slice.h
Fix Issue #3771 : Slice ctor checks for nullptr and creates empty string
7 years ago
slice_transform.h
use user_key and iterate_upper_bound to determine compatibility of bloom filters ( #3899 )
7 years ago
snapshot.h
Change RocksDB License
8 years ago
sst_dump_tool.h
Change RocksDB License
8 years ago
sst_file_manager.h
In delete scheduler, before ftruncate file for slow delete, check whether there is other hard links ( #4093 )
7 years ago
sst_file_writer.h
Support range deletion tombstones in IngestExternalFile SSTs ( #3778 )
7 years ago
statistics.h
Print histogram count and sum in statistics string
7 years ago
status.h
move static msgs out of Status class ( #4144 )
7 years ago
table.h
DataBlockHashIndex: Specify that DataBlockHashIndex is not yet implemented in the comment
6 years ago
table_properties.h
Add table property tracking number of range deletions ( #4016 )
7 years ago
thread_status.h
fix ThreadStatus for bottom-pri compaction threads
7 years ago
threadpool.h
Change RocksDB License
8 years ago
trace_reader_writer.h
Trace and Replay for RocksDB ( #3837 )
6 years ago
transaction_log.h
Change RocksDB License
8 years ago
types.h
add kEntryRangeDeletion
7 years ago
universal_compaction.h
Change RocksDB License
8 years ago
version.h
Increase version number to 5.16 ( #4176 )
7 years ago
wal_filter.h
Comment out unused variables
7 years ago
write_batch.h
WriteUnPrepared: Add support for recovering WriteUnprepared transactions ( #4078 )
7 years ago
write_batch_base.h
Fix some typos in comments and docs.
7 years ago
write_buffer_manager.h
Change RocksDB License
8 years ago