Persists new dense entries before a delta frame is made replayable.
InternalRemoves a local prefix without representing it as a server ACK. Persistent stores should provide this when recovery can abandon frames.
"Without representing it as a server ACK" is about the transport's public
watermark, which the caller leaves alone. The removal itself must be as
durable as acknowledgeThrough's: a discarded prefix that a later load()
can still see is a prefix this client reported abandoned and then sent
anyway.
Opens and validates the journal without materializing every payload.
Implementations that provide this must also provide readPayload.
Loads the durable, dense symbol prefix used by persisted delta frames.
InternalWaits until every payload in one logical batch can be appended without an ACK between frames. Implementations must not mutate the journal.
Reads one previously loaded durable payload on demand.
Atomically replaces an unusable dictionary after surviving committed frames prove that its complete ID space can be reconstructed.
Node store-and-forward journal with configurable local durability.
The active fixed-size segment and one hot spare remain open for positional writes.
appendfsyncs each frame,periodicbatches barriers, andmemoryrelies on OS writeback. An ACK persists its cursor before bounded background trimming. A crash between the server ACK and local deletion can cause at-least-once replay. An exclusive, lifetime lock prevents another process from recovering or mutating the same directory.