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

Method sync

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

Flush all buffered records and fsync the active segment.

(&mut self)

Source from the content-addressed store, hash-verified

174
175 /// Flush all buffered records and fsync the active segment.
176 pub fn sync(&mut self) -> Result<()> {
177 self.writer.sync()
178 }
179
180 /// The next LSN that will be assigned.
181 pub fn next_lsn(&self) -> u64 {

Callers 14

create_and_appendFunction · 0.45
replay_after_closeFunction · 0.45
total_size_bytesFunction · 0.45
reopen_continues_lsnFunction · 0.45
epoch_tamper_rejectedFunction · 0.45
replay_from_limit_basicFunction · 0.45

Calls

no outgoing calls

Tested by 14

create_and_appendFunction · 0.36
replay_after_closeFunction · 0.36
total_size_bytesFunction · 0.36
reopen_continues_lsnFunction · 0.36
epoch_tamper_rejectedFunction · 0.36
replay_from_limit_basicFunction · 0.36