Expand description
Keeps agent writes off the SQLite writer while store maintenance holds it. A write that arrives then is saved to the write queue and answered 202; once maintenance ends, writes keep queueing behind the saved ones until the replayer has sent them all, so none lands out of order.
Structs§
- Closed
- Held for the length of a maintenance run; dropping it lets writes back in behind whatever was queued meanwhile.
- Write
Gate - Write
Slot
Constants§
- CLOCK_
HELD_ REASON - QUEUED_
REASON - REPLAY_
HEADER - Set by the replayer, so a queued write it sends is never queued again.