rocksdb/options
Maysam Yabandeh 17731a43a6 WritePrepared Txn: Optimize for recoverable state
Summary:
GetCommitTimeWriteBatch is currently used to store some state as part of commit in 2PC. In MyRocks it is specifically used to store some data that would be needed only during recovery. So it is not need to be stored in memtable right after each commit.
This patch enables an optimization to write the GetCommitTimeWriteBatch only to the WAL. The batch will be written to memtable during recovery when the WAL is replayed. To cover the case when WAL is deleted after memtable flush, the batch is also buffered and written to memtable right before each memtable flush.
Closes https://github.com/facebook/rocksdb/pull/3071

Differential Revision: D6148023

Pulled By: maysamyabandeh

fbshipit-source-id: 2d09bae5565abe2017c0327421010d5c0d55eaa7
2017-11-01 17:26:46 -07:00
..
cf_options.cc Make FIFO compaction options dynamically configurable 2017-10-19 15:26:36 -07:00
cf_options.h Make FIFO compaction options dynamically configurable 2017-10-19 15:26:36 -07:00
db_options.cc Make writable_file_max_buffer_size dynamic 2017-10-31 13:56:35 -07:00
db_options.h Make writable_file_max_buffer_size dynamic 2017-10-31 13:56:35 -07:00
options_helper.cc Make writable_file_max_buffer_size dynamic 2017-10-31 13:56:35 -07:00
options_helper.h Make writable_file_max_buffer_size dynamic 2017-10-31 13:56:35 -07:00
options_parser.cc Make FIFO compaction options dynamically configurable 2017-10-19 15:26:36 -07:00
options_parser.h WritePrepared Txn: Optimize for recoverable state 2017-11-01 17:26:46 -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: Optimize for recoverable state 2017-11-01 17:26:46 -07:00
options_test.cc Allow upgrades from nullptr to some merge operator 2017-10-04 09:57:23 -07:00
options.cc implement lower bound for iterators 2017-10-26 17:27:42 -07:00