Expand description
The drain thread: applies the index outbox every few seconds and, when the outbox is quiet and the interval has passed, repairs the store with the writable indexes it owns. On-demand repairs arrive over a channel so the same thread services them; two writers never exist.
Structs§
Functions§
- run_
repair - Runs a repair and re-measures the store afterwards, on whatever index handle the caller owns (the writer on the drain thread, none when the indexes never opened).