MCPcopy Create free account
hub / github.com/bytedance/terarkdb / commit

Method commit

java/src/main/java/org/rocksdb/Transaction.java:204–207  ·  view source on GitHub ↗

Write all batched keys to the db atomically. Returns OK on success. May return any error status that could be returned by DB:Write(). If this transaction was created by an OptimisticTransactionDB Status::Busy() may be returned if the transaction could not guarantee that there are no write

()

Source from the content-addressed store, hash-verified

202 * @throws RocksDBException if an error occurs when committing the transaction
203 */
204 public void commit() throws RocksDBException {
205 assert(isOwningHandle());
206 commit(nativeHandle_);
207 }
208
209 /**
210 * Discard all batched writes in this transaction.

Callers 5

readCommittedMethod · 0.45
repeatableReadMethod · 0.45
readCommittedMethod · 0.45

Calls 1

isOwningHandleMethod · 0.45

Tested by

no test coverage detected