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

Method min_committed_offset

crates/commitlog/src/lib.rs:226–228  ·  view source on GitHub ↗

Determine the minimum transaction offset in the log. The offset is `None` if the log hasn't been flushed to disk yet.

(&self)

Source from the content-addressed store, hash-verified

224 ///
225 /// The offset is `None` if the log hasn't been flushed to disk yet.
226 pub fn min_committed_offset(&self) -> Option<u64> {
227 self.inner.read().unwrap().min_committed_offset()
228 }
229
230 /// Get the current epoch.
231 ///

Callers 2

tx_range_hintMethod · 0.45
tx_range_hintMethod · 0.45

Calls 2

unwrapMethod · 0.45
readMethod · 0.45

Tested by

no test coverage detected