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

Method seal

nodedb-wal/src/uring_writer.rs:296–300  ·  view source on GitHub ↗

Seal the WAL.

(&mut self)

Source from the content-addressed store, hash-verified

294
295 /// Seal the WAL.
296 pub fn seal(&mut self) -> Result<()> {
297 self.submit_and_sync()?;
298 self.sealed = true;
299 Ok(())
300 }
301
302 /// Next LSN that will be assigned.
303 pub fn next_lsn(&self) -> u64 {

Callers

nothing calls this directly

Calls 1

submit_and_syncMethod · 0.80

Tested by

no test coverage detected