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

Method seal

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

Seal the WAL — no more writes will be accepted. Flushes any buffered data before sealing.

(&mut self)

Source from the content-addressed store, hash-verified

369 ///
370 /// Flushes any buffered data before sealing.
371 pub fn seal(&mut self) -> Result<()> {
372 self.sync()?;
373 self.sealed = true;
374 Ok(())
375 }
376
377 /// The next LSN that will be assigned.
378 pub fn next_lsn(&self) -> u64 {

Callers 7

roll_segmentMethod · 0.45
execute_vector_sealMethod · 0.45
execute_vector_insertMethod · 0.45

Calls 1

syncMethod · 0.45

Tested by 1