Skip to main content

Module range_cache

Module range_cache 

Source
Expand description

Coordinates range-result cache loads and SST retirement. No I/O or decoding runs under the coordinator lock; loaders use the shared query runtime.

StructsΒ§

Entry πŸ”’
Flight πŸ”’
LoadGuard πŸ”’
Also unregisters a cancelled or panicking load. Generation matching keeps a stale task from unregistering a later retry of the same key.
RangeCacheDelivery πŸ”’
Keeps completed results charged while subscribers or replay streams own them. Cache entries retain only a weak reference: after the last reader leaves, the resident value is covered solely by the cache’s capacity accounting.
RangeCacheWorker πŸ”’
State πŸ”’

EnumsΒ§

RangeCacheLookup πŸ”’

ConstantsΒ§

MAX_IN_FLIGHT_RANGES πŸ”’
Admission, not a queue: excess distinct misses keep using ordinary scans.

Type AliasesΒ§

SharedResult πŸ”’