Home
last modified time | relevance | path

Searched refs:target_size (Results 1 – 13 of 13) sorted by relevance

/rocksdb-6.9/utilities/transactions/
Dtransaction_lock_mgr.cc107 void DeadlockInfoBuffer::Resize(uint32_t target_size) { in Resize() argument
113 if (target_size < paths_buffer_.size()) { in Resize()
116 paths_buffer_.begin() + (paths_buffer_.size() - target_size)); in Resize()
122 paths_buffer_.resize(target_size); in Resize()
740 void TransactionLockMgr::Resize(uint32_t target_size) { in Resize() argument
741 dlock_buffer_.Resize(target_size); in Resize()
Dtransaction_lock_mgr.h41 void Resize(uint32_t target_size);
Dpessimistic_transaction_db.cc610 void PessimisticTransactionDB::SetDeadlockInfoBufferSize(uint32_t target_size) { in SetDeadlockInfoBufferSize() argument
611 lock_mgr_.Resize(target_size); in SetDeadlockInfoBufferSize()
Dpessimistic_transaction_db.h137 void SetDeadlockInfoBufferSize(uint32_t target_size) override;
/rocksdb-6.9/include/rocksdb/
Doptions.h351 uint64_t target_size; // Target size of total files under the path, in byte. member
353 DbPath() : target_size(0) {} in DbPath()
354 DbPath(const std::string& p, uint64_t t) : path(p), target_size(t) {} in DbPath()
Dc.h1335 …OCKSDB_LIBRARY_API rocksdb_dbpath_t* rocksdb_dbpath_create(const char* path, uint64_t target_size);
/rocksdb-6.9/db/compaction/
Dcompaction_picker_universal.cc549 uint64_t target_size = ioptions.cf_paths[p].target_size; in GetPathId() local
550 if (target_size > file_size && in GetPathId()
551 accumulated_size + (target_size - file_size) > future_size) { in GetPathId()
554 accumulated_size += target_size; in GetPathId()
Dcompaction_picker_level.cc415 uint64_t current_path_size = ioptions.cf_paths[0].target_size; in GetPathId()
452 current_path_size = ioptions.cf_paths[p].target_size; in GetPathId()
/rocksdb-6.9/include/rocksdb/utilities/
Dtransaction_db.h296 virtual void SetDeadlockInfoBufferSize(uint32_t target_size) = 0;
/rocksdb-6.9/db/
Ddb_compaction_test.cc1558 uint64_t target_size = 4 * options.max_bytes_for_level_base; in TEST_F() local
1560 ASSERT_LE(SizeAtLevel(i), target_size); in TEST_F()
1561 target_size = static_cast<uint64_t>(target_size * in TEST_F()
1667 uint64_t target_size = 4 * options.max_bytes_for_level_base; in TEST_F() local
1669 ASSERT_LE(SizeAtLevel(i), target_size); in TEST_F()
1670 target_size = static_cast<uint64_t>(target_size * in TEST_F()
Dc.cc3342 rocksdb_dbpath_t* rocksdb_dbpath_create(const char* path, uint64_t target_size) { in rocksdb_dbpath_create() argument
3345 result->rep.target_size = target_size; in rocksdb_dbpath_create()
/rocksdb-6.9/java/rocksjni/
Doptions.cc580 ptr_jtarget_size[i] = static_cast<jint>(db_path.target_size); in Java_org_rocksdb_Options_dbPaths()
5106 ptr_jtarget_size[i] = static_cast<jint>(db_path.target_size); in Java_org_rocksdb_DBOptions_dbPaths()
/rocksdb-6.9/
DHISTORY.md935 specifying them in db_paths along with the target_size.