mirror of
https://github.com/facebook/rocksdb.git
synced 2024-11-25 22:44:05 +00:00
c2f2cb0214
Summary: Initial implementation of Pessimistic Transactions. This diff contains the api changes discussed in D38913. This diff is pretty large, so let me know if people would prefer to meet up to discuss it. MyRocks folks: please take a look at the API in include/rocksdb/utilities/transaction[_db].h and let me know if you have any issues. Also, you'll notice a couple of TODOs in the implementation of RollbackToSavePoint(). After chatting with Siying, I'm going to send out a separate diff for an alternate implementation of this feature that implements the rollback inside of WriteBatch/WriteBatchWithIndex. We can then decide which route is preferable. Next, I'm planning on doing some perf testing and then integrating this diff into MongoRocks for further testing. Test Plan: Unit tests, db_bench parallel testing. Reviewers: igor, rven, sdong, yhchiang, yoshinorim Reviewed By: sdong Subscribers: hermanlee4, maykov, spetrunia, leveldb, dhruba Differential Revision: https://reviews.facebook.net/D40869 |
||
---|---|---|
.. | ||
utilities | ||
c.h | ||
cache.h | ||
compaction_filter.h | ||
compaction_job_stats.h | ||
comparator.h | ||
convenience.h | ||
db.h | ||
delete_scheduler.h | ||
env.h | ||
experimental.h | ||
filter_policy.h | ||
flush_block_policy.h | ||
immutable_options.h | ||
iostats_context.h | ||
iterator.h | ||
ldb_tool.h | ||
listener.h | ||
memtablerep.h | ||
merge_operator.h | ||
metadata.h | ||
options.h | ||
perf_context.h | ||
perf_level.h | ||
rate_limiter.h | ||
slice.h | ||
slice_transform.h | ||
snapshot.h | ||
sst_dump_tool.h | ||
statistics.h | ||
status.h | ||
table.h | ||
table_properties.h | ||
thread_status.h | ||
transaction_log.h | ||
types.h | ||
universal_compaction.h | ||
version.h | ||
write_batch.h | ||
write_batch_base.h |