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

Method next

nodedb/src/types/lsn.rs:23–25  ·  view source on GitHub ↗

Atomically increment and return the next LSN.

(&self)

Source from the content-addressed store, hash-verified

21
22 /// Atomically increment and return the next LSN.
23 pub fn next(&self) -> Lsn {
24 Lsn::new(self.current.fetch_add(1, Ordering::Relaxed) + 1)
25 }
26
27 /// Current value without incrementing (for snapshot watermarks).
28 pub fn current(&self) -> Lsn {

Callers 15

lsn_generator_monotonicFunction · 0.45
drain_completionsMethod · 0.45
read_syncMethod · 0.45
read_filesMethod · 0.45
parse_sparse_keyFunction · 0.45
parse_spatial_keyFunction · 0.45
eval_sql_exprFunction · 0.45
binary_row_projectFunction · 0.45
list_parquet_filesMethod · 0.45
rebuild_from_storeMethod · 0.45
rebuild_from_dirMethod · 0.45

Calls

no outgoing calls