MCPcopy Create free account
hub / github.com/clockworklabs/SpacetimeDB / max_committed_offset

Method max_committed_offset

crates/commitlog/src/lib.rs:219–221  ·  view source on GitHub ↗

Determine the maximum transaction offset considered durable. The offset is `None` if the log hasn't been flushed to disk yet.

(&self)

Source from the content-addressed store, hash-verified

217 ///
218 /// The offset is `None` if the log hasn't been flushed to disk yet.
219 pub fn max_committed_offset(&self) -> Option<u64> {
220 self.inner.read().unwrap().max_committed_offset()
221 }
222
223 /// Determine the minimum transaction offset in the log.
224 ///

Callers 10

tx_range_hintMethod · 0.45
bench_appendFunction · 0.45
set_epochMethod · 0.45
syncMethod · 0.45
flushMethod · 0.45
flush_and_syncMethod · 0.45
fill_logFunction · 0.45
open_innerMethod · 0.45
flush_and_syncMethod · 0.45
tx_range_hintMethod · 0.45

Calls 2

unwrapMethod · 0.45
readMethod · 0.45

Tested by 1

fill_logFunction · 0.36