rocksdb/utilities/transactions
Quinn Jarrell 6a541afcc4 Make bytes_per_sync and wal_bytes_per_sync mutable
Summary:
SUMMARY
Moves the bytes_per_sync and wal_bytes_per_sync options from immutableoptions to mutable options. Also if wal_bytes_per_sync is changed, the wal file and memtables are flushed.
TEST PLAN
ran make check
all passed

Two new tests SetBytesPerSync, SetWalBytesPerSync check that after issuing setoptions with a new value for the var, the db options have the new value.
Closes https://github.com/facebook/rocksdb/pull/2893

Reviewed By: yiwu-arbug

Differential Revision: D5845814

Pulled By: TheRushingWookie

fbshipit-source-id: 93b52d779ce623691b546679dcd984a06d2ad1bd
2017-09-27 17:49:45 -07:00
..
optimistic_transaction_db_impl.cc Refactor PessimisticTransaction 2017-08-07 16:12:29 -07:00
optimistic_transaction_db_impl.h Change RocksDB License 2017-07-15 16:11:23 -07:00
optimistic_transaction_test.cc Change RocksDB License 2017-07-15 16:11:23 -07:00
optimistic_transaction.cc Update WritePrepared with the pseudo code 2017-08-16 16:57:47 -07:00
optimistic_transaction.h Update WritePrepared with the pseudo code 2017-08-16 16:57:47 -07:00
pessimistic_transaction_db.cc Add TransactionDB::SingleDelete() 2017-09-27 10:27:26 -07:00
pessimistic_transaction_db.h Add TransactionDB::SingleDelete() 2017-09-27 10:27:26 -07:00
pessimistic_transaction.cc WritePrepared Txn: Lock-free CommitMap 2017-09-13 12:12:11 -07:00
pessimistic_transaction.h WritePrepared Txn: Lock-free CommitMap 2017-09-13 12:12:11 -07:00
transaction_base.cc Add TransactionDB::SingleDelete() 2017-09-27 10:27:26 -07:00
transaction_base.h Add TransactionDB::SingleDelete() 2017-09-27 10:27:26 -07:00
transaction_db_mutex_impl.cc Change RocksDB License 2017-07-15 16:11:23 -07:00
transaction_db_mutex_impl.h Change RocksDB License 2017-07-15 16:11:23 -07:00
transaction_lock_mgr.cc Added mechanism to track deadlock chain 2017-08-17 18:56:21 -07:00
transaction_lock_mgr.h Added mechanism to track deadlock chain 2017-08-17 18:56:21 -07:00
transaction_test.cc Make bytes_per_sync and wal_bytes_per_sync mutable 2017-09-27 17:49:45 -07:00
transaction_test.h Add more unit test to write_prepared txns 2017-08-31 09:41:27 -07:00
transaction_util.cc Change RocksDB License 2017-07-15 16:11:23 -07:00
transaction_util.h Change RocksDB License 2017-07-15 16:11:23 -07:00
write_prepared_transaction_test.cc Fix WritePreparedTransactionTest::SeqAdvanceTest ASAN failure 2017-09-22 15:26:42 -07:00
write_prepared_txn.cc WritePrepared Txn: Advance seq one per batch 2017-09-18 14:45:08 -07:00
write_prepared_txn.h WritePrepared Txn: Lock-free CommitMap 2017-09-13 12:12:11 -07:00