Home
last modified time | relevance | path

Searched refs:SNAPSHOT_CACHE_SIZE (Results 1 – 3 of 3) sorted by relevance

/rocksdb-6.9/utilities/transactions/
Dwrite_prepared_txn_db.cc400 new std::atomic<SequenceNumber>[SNAPSHOT_CACHE_SIZE] {}); in Init()
838 for (; it != snapshots.end() && i < SNAPSHOT_CACHE_SIZE; ++it, ++i) { in UpdateSnapshots()
886 size_t ip1 = std::min(cnt, SNAPSHOT_CACHE_SIZE); in CheckAgainstSnapshots()
893 if (ip1 == SNAPSHOT_CACHE_SIZE) { // border line snapshot in CheckAgainstSnapshots()
912 if (UNLIKELY(SNAPSHOT_CACHE_SIZE < cnt && search_larger_list)) { in CheckAgainstSnapshots()
923 for (size_t i = 0; i < SNAPSHOT_CACHE_SIZE; i++) { in CheckAgainstSnapshots()
Dwrite_prepared_txn_db.h44 SNAPSHOT_CACHE_SIZE(static_cast<size_t>(1ull << SNAPSHOT_CACHE_BITS)), in WritePreparedTxnDB()
55 SNAPSHOT_CACHE_SIZE(static_cast<size_t>(1ull << SNAPSHOT_CACHE_BITS)), in WritePreparedTxnDB()
726 const size_t SNAPSHOT_CACHE_SIZE; variable
Dwrite_prepared_transaction_test.cc1198 for (size_t old_size = 1; old_size <= wp_db->SNAPSHOT_CACHE_SIZE + extra; in TEST_P()
1234 std::min(old_snapshots.size(), wp_db->SNAPSHOT_CACHE_SIZE) + 1; in TEST_P()
1236 std::min(new_snapshots.size(), wp_db->SNAPSHOT_CACHE_SIZE) + 1; in TEST_P()
1311 ASSERT_TRUE(i < wp_db->SNAPSHOT_CACHE_SIZE); in TEST_P()