rocksdb/utilities/transactions
Jay Edgar b28b7c6dd9 Added callback notification when a snapshot is created
Summary: When SetSnapshot() is used the caller immediately knows a snapshot has been created, but when SetSnapshotOnNextOperation() is used the caller needs a way to get notified when that snapshot has been generated.  This creates an interface that the client can implement that will be called at the time the snapshot is created.

Test Plan: Added a new SetSnapshotOnNextOperationWithNotification test into the transaction_test.

Reviewers: sdong, anthony

Reviewed By: anthony

Subscribers: yoshinorim, leveldb, dhruba

Differential Revision: https://reviews.facebook.net/D51177
2015-12-04 10:20:36 -08:00
..
optimistic_transaction_db_impl.cc Pessimistic Transactions 2015-08-11 17:52:23 -07:00
optimistic_transaction_db_impl.h Pessimistic Transactions 2015-08-11 17:52:23 -07:00
optimistic_transaction_impl.cc Deferred snapshot creation in transactions 2015-10-09 15:46:16 -07:00
optimistic_transaction_impl.h Transactions: Release Locks when rolling back to a savepoint 2015-09-11 18:10:50 -07:00
optimistic_transaction_test.cc Transaction stats 2015-09-09 13:35:53 -07:00
transaction_base.cc Added callback notification when a snapshot is created 2015-12-04 10:20:36 -08:00
transaction_base.h Added callback notification when a snapshot is created 2015-12-04 10:20:36 -08:00
transaction_db_impl.cc added public api to schedule flush/compaction, code to prevent race with db::open 2015-12-03 22:59:44 -08:00
transaction_db_impl.h Transactions: Release Locks when rolling back to a savepoint 2015-09-11 18:10:50 -07:00
transaction_db_mutex_impl.cc TransactionDB Custom Locking API 2015-09-08 17:03:57 -07:00
transaction_db_mutex_impl.h TransactionDB Custom Locking API 2015-09-08 17:03:57 -07:00
transaction_impl.cc Deferred snapshot creation in transactions 2015-10-09 15:46:16 -07:00
transaction_impl.h Deferred snapshot creation in transactions 2015-10-09 15:46:16 -07:00
transaction_lock_mgr.cc TransactionDB Custom Locking API 2015-09-08 17:03:57 -07:00
transaction_lock_mgr.h TransactionDB Custom Locking API 2015-09-08 17:03:57 -07:00
transaction_test.cc Added callback notification when a snapshot is created 2015-12-04 10:20:36 -08:00
transaction_util.cc Transactions: Release Locks when rolling back to a savepoint 2015-09-11 18:10:50 -07:00
transaction_util.h Transactions: Release Locks when rolling back to a savepoint 2015-09-11 18:10:50 -07:00