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

Method next_lsn

nodedb-wal/src/writer.rs:378–380  ·  view source on GitHub ↗

The next LSN that will be assigned.

(&self)

Source from the content-addressed store, hash-verified

376
377 /// The next LSN that will be assigned.
378 pub fn next_lsn(&self) -> u64 {
379 self.next_lsn.load(Ordering::Relaxed)
380 }
381
382 /// Current file size (bytes written to disk).
383 pub fn file_offset(&self) -> u64 {

Callers 4

wal_append_fsync_1kFunction · 0.45
wal_append_only_10kFunction · 0.45
wal_group_commitFunction · 0.45
openMethod · 0.45

Calls 1

loadMethod · 0.45

Tested by

no test coverage detected