| /rocksdb-6.9/utilities/transactions/ |
| D | write_prepared_txn.cc | 116 db_impl_->immutable_db_options().two_write_queues, kFirstPrepareBatch); in PrepareInternal() 171 !db_impl_->immutable_db_options().two_write_queues || disable_memtable; in CommitInternal() 178 db_impl_->immutable_db_options().two_write_queues, !kFirstPrepareBatch); in CommitInternal() 197 if (UNLIKELY(!db_impl_->immutable_db_options().two_write_queues && in CommitInternal() 230 if (UNLIKELY(!db_impl_->immutable_db_options().two_write_queues)) { in CommitInternal() 356 bool do_one_write = !db_impl_->immutable_db_options().two_write_queues; in RollbackInternal() 371 db_impl_->immutable_db_options().two_write_queues, !kFirstPrepareBatch); in RollbackInternal() 392 assert(!db_impl_->immutable_db_options().two_write_queues); in RollbackInternal()
|
| D | transaction_test.h | 63 options.two_write_queues = two_write_queue; in TransactionTestBase() 230 if (options.two_write_queues) { 256 if (options.two_write_queues) { 283 if (options.two_write_queues) { 355 if (options.two_write_queues) { 364 if (options.two_write_queues) {
|
| D | write_prepared_txn_db.h | 851 size_t sub_batch_cnt, bool two_write_queues, in AddPreparedCallback() argument 856 two_write_queues_(two_write_queues), in AddPreparedCallback() 929 assert(!db_impl_->immutable_db_options().two_write_queues || in Callback() 957 if (db_impl_->immutable_db_options().two_write_queues) { in Callback() 1020 assert(db_impl_->immutable_db_options().two_write_queues); in Callback()
|
| D | pessimistic_transaction.cc | 229 MarkLogCallback(DBImpl* db, bool two_write_queues) in PrepareInternal() argument 230 : db_(db), two_write_queues_(two_write_queues) { in PrepareInternal() 249 db_impl_->immutable_db_options().two_write_queues); in PrepareInternal()
|
| D | write_unprepared_txn.cc | 367 db_impl_->immutable_db_options().two_write_queues, first_prepare_batch); in FlushWriteBatchToDBInternal() 564 !db_impl_->immutable_db_options().two_write_queues || disable_memtable; in CommitInternal() 571 db_impl_->immutable_db_options().two_write_queues, !kFirstPrepareBatch); in CommitInternal() 716 bool do_one_write = !db_impl_->immutable_db_options().two_write_queues; in RollbackInternal()
|
| D | write_unprepared_txn_db.h | 82 if (db_impl_->immutable_db_options().two_write_queues && publish_seq_) { in Callback()
|
| D | write_prepared_transaction_test.cc | 1751 if (options.two_write_queues) { in TEST_P() 2340 if (options.two_write_queues) { in TEST_P() 2388 if (options.two_write_queues) { in TEST_P() 2499 if (options.two_write_queues) { in TEST_P() 2506 if (options.two_write_queues) { in TEST_P() 2886 if (options.two_write_queues) { in TEST_P() 3261 if (!options.two_write_queues) { in TEST_P()
|
| D | write_prepared_txn_db.cc | 168 bool do_one_write = !db_impl_->immutable_db_options().two_write_queues; in WriteInternal() 182 db_impl_->immutable_db_options().two_write_queues, in WriteInternal()
|
| D | write_unprepared_txn_db.cc | 184 if (db_impl_->immutable_db_options().two_write_queues) { in RollbackRecoveredTransaction()
|
| D | pessimistic_transaction_db.cc | 232 db_options.unordered_write && !db_options.two_write_queues) { in Open()
|
| /rocksdb-6.9/options/ |
| D | db_options.cc | 91 two_write_queues(options.two_write_queues), in ImmutableDBOptions() 236 two_write_queues); in Dump()
|
| D | db_options.h | 83 bool two_write_queues; member
|
| D | options_helper.cc | 140 options.two_write_queues = immutable_db_options.two_write_queues; in BuildDBOptions() 1661 {offsetof(struct DBOptions, two_write_queues), OptionType::kBoolean, 1663 offsetof(struct ImmutableDBOptions, two_write_queues)}},
|
| /rocksdb-6.9/docs/_posts/ |
| D | 2019-08-15-unordered-write.markdown | 19 … with TransactionDB configured with WritePrepared transactions and `two_write_queues`. You can rea… 27 db_options.two_write_queues = true;
|
| /rocksdb-6.9/db/ |
| D | write_callback_test.cc | 140 options.two_write_queues = two_queues; in TEST_F() 145 if (options.enable_pipelined_write && options.two_write_queues) { in TEST_F()
|
| D | version_set.h | 970 assert(!db_options_->two_write_queues || s <= last_allocated_sequence_); in SetLastSequence()
|
| D | db_test.cc | 3871 for (bool two_write_queues : {false, true}) { in TEST_F() 3873 options.two_write_queues = two_write_queues; in TEST_F() 3884 if (two_write_queues) { in TEST_F()
|
| D | db_test_util.cc | 554 options.two_write_queues = true; in GetOptions()
|
| D | version_set.cc | 4154 edit->SetLastSequence(db_options_->two_write_queues ? last_allocated_sequence_ in LogAndApplyCFHelper() 4186 edit->SetLastSequence(db_options_->two_write_queues ? last_allocated_sequence_ in LogAndApplyHelper()
|
| D | external_sst_file_test.cc | 2786 options.two_write_queues = true; in TEST_P()
|
| /rocksdb-6.9/include/rocksdb/ |
| D | options.h | 1082 bool two_write_queues = false; member
|
| /rocksdb-6.9/java/rocksjni/ |
| D | options.cc | 2033 opt->two_write_queues = jtwo_write_queues == JNI_TRUE; in Java_org_rocksdb_Options_setTwoWriteQueues() 2044 return static_cast<jboolean>(opt->two_write_queues); in Java_org_rocksdb_Options_twoWriteQueues() 6413 opt->two_write_queues = jtwo_write_queues == JNI_TRUE; in Java_org_rocksdb_DBOptions_setTwoWriteQueues() 6424 return static_cast<jboolean>(opt->two_write_queues); in Java_org_rocksdb_DBOptions_twoWriteQueues()
|
| /rocksdb-6.9/db/db_impl/ |
| D | db_impl.cc | 206 two_write_queues_(options.two_write_queues), in DBImpl() 218 !(seq_per_batch && options.two_write_queues)), in DBImpl()
|
| /rocksdb-6.9/db_stress_tool/ |
| D | db_stress_test_base.cc | 1996 options_.two_write_queues = true; in Open()
|
| /rocksdb-6.9/tools/ |
| D | db_bench_tool.cc | 4159 options.two_write_queues = true; in OpenDb() 4190 options.two_write_queues = true; in OpenDb()
|