MCPcopy Create free account
hub / github.com/LadybugDB/ladybug / shouldForceCheckpoint

Method shouldForceCheckpoint

src/transaction/transaction.cpp:62–64  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

60}
61
62bool Transaction::shouldForceCheckpoint() const {
63 return !clientContext->isInMemory() && forceCheckpoint;
64}
65
66void Transaction::commit(storage::WAL* wal) {
67 if (commitTS == common::INVALID_TRANSACTION) {

Callers 1

commitMethod · 0.80

Calls 1

isInMemoryMethod · 0.80

Tested by

no test coverage detected