rocksdb/utilities
agiardullo 8161bdb5a0 WriteBatch Save Points
Summary:
Support RollbackToSavePoint() in WriteBatch and WriteBatchWithIndex.  Support for partial transaction rollback is needed for MyRocks.

An alternate implementation of Transaction::RollbackToSavePoint() exists in D40869.  However, the other implementation is messier because it is implemented outside of WriteBatch.  This implementation is much cleaner and also exposes a potentially useful feature to WriteBatch.

Test Plan: Added unit tests

Reviewers: IslamAbdelRahman, kradhakrishnan, maykov, yoshinorim, hermanlee4, spetrunia, sdong, yhchiang

Reviewed By: yhchiang

Subscribers: dhruba, leveldb

Differential Revision: https://reviews.facebook.net/D42723
2015-07-29 16:54:23 -07:00
..
backupable Improved FileExists API 2015-07-20 17:20:40 -07:00
checkpoint Improved FileExists API 2015-07-20 17:20:40 -07:00
document Skip unsupported tests in ROCKSDB_LITE 2015-07-20 11:24:54 -07:00
flashcache Fix the compilation error in flashcache.cc on Mac 2015-04-07 15:27:23 -07:00
geodb Tests to avoid to use TMPDIR directly 2015-07-21 19:07:34 -07:00
leveldb_options Added CompatibleOptions for compatibility with LevelDB Options 2014-11-20 19:24:39 -08:00
merge_operators Tests to avoid to use TMPDIR directly 2015-07-21 19:07:34 -07:00
redis Tests to avoid to use TMPDIR directly 2015-07-21 19:07:34 -07:00
spatialdb Block spatial_db_test in ROCKSDB_LITE 2015-07-13 18:35:03 -07:00
transactions fix compile for optimistic_transaction_test under ROCKSDB_LITE 2015-07-13 16:42:40 -07:00
ttl Skip unsupported tests in ROCKSDB_LITE 2015-07-20 11:24:54 -07:00
write_batch_with_index WriteBatch Save Points 2015-07-29 16:54:23 -07:00
merge_operators.h Add appropriate LICENSE and Copyright message. 2013-10-16 17:48:41 -07:00