MCPcopy Create free account
hub / github.com/NodeDB-Lab/nodedb / next_lsn

Method next_lsn

nodedb-wal/src/segmented.rs:181–183  ·  view source on GitHub ↗

The next LSN that will be assigned.

(&self)

Source from the content-addressed store, hash-verified

179
180 /// The next LSN that will be assigned.
181 pub fn next_lsn(&self) -> u64 {
182 self.writer.next_lsn()
183 }
184
185 /// First LSN of the active (currently written) segment.
186 pub fn active_segment_first_lsn(&self) -> u64 {

Callers 1

roll_segmentMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected