Skip to main content

Module write_buffer

Module write_buffer 

Source
Expand description

Storage Write-Ahead Buffer — buffers incoming writes in memory before flushing to the underlying storage backend.

Provides durability semantics via monotonic sequence numbers so that any unflushed entries can be replayed after a crash.

Structs§

BufferConfig
Configuration knobs for StorageWriteAheadBuffer.
BufferedEntry
A single entry held in the StorageWriteAheadBuffer.
FlushResult
Summary returned by StorageWriteAheadBuffer::flush.
StorageWriteAheadBuffer
In-memory write-ahead buffer with sequence-numbered entries.

Enums§

WriteOp
An individual write operation staged in the buffer.