rocksdb/options
Maysam Yabandeh 60beefd6e0 WritePrepared Txn: Advance seq one per batch
Summary:
By default the seq number in DB is increased once per written key. WritePrepared txns requires the seq to be increased once per the entire batch so that the seq would be used as the prepare timestamp by which the transaction is identified. Also we need to increase seq for the commit marker since it would give a unique id to the commit timestamp of transactions.

Two unit tests are added to verify our understanding of how the seq should be increased. The recovery path requires much more work and is left to another patch.
Closes https://github.com/facebook/rocksdb/pull/2885

Differential Revision: D5837843

Pulled By: maysamyabandeh

fbshipit-source-id: a08960b93d727e1cf438c254d0c2636fb133cc1c
2017-09-18 14:45:08 -07:00
..
cf_options.cc Change RocksDB License 2017-07-15 16:11:23 -07:00
cf_options.h fix some misspellings 2017-08-16 21:57:20 -07:00
db_options.cc WritePrepared Txn: Advance seq one per batch 2017-09-18 14:45:08 -07:00
db_options.h WritePrepared Txn: Advance seq one per batch 2017-09-18 14:45:08 -07:00
options_helper.cc Replace dynamic_cast<> 2017-07-28 16:27:16 -07:00
options_helper.h WritePrepared Txn: Advance seq one per batch 2017-09-18 14:45:08 -07:00
options_parser.cc Replace dynamic_cast<> 2017-07-28 16:27:16 -07:00
options_parser.h Replace dynamic_cast<> 2017-07-28 16:27:16 -07:00
options_sanity_check.cc Change RocksDB License 2017-07-15 16:11:23 -07:00
options_sanity_check.h Change RocksDB License 2017-07-15 16:11:23 -07:00
options_settable_test.cc WritePrepared Txn: Advance seq one per batch 2017-09-18 14:45:08 -07:00
options_test.cc Fix memory leak in OptionsTest::OptionsComposeDecompose 2017-09-15 11:37:37 -07:00
options.cc Use the default copy constructor in Options 2017-09-15 17:15:10 -07:00