Expand description
Dormant local whole-SST read index. The remote object store remains authoritative.
Registration makes an object eligible for a local route but does not write or publish it.
Files use the fixed <object_id>.sst path. There is no download API in this layer:
safe path reuse requires the storage admission and GC unlink protections added later.
Unregistering prevents new lookups; existing handles retain their selected file.
Reads never enqueue refill work. The backend does not track version or refill identities.
Modulesยง
- membership ๐
Structsยง
- PinCache ๐
- A local whole-SST cache. The remote object store remains authoritative. Each objectโs state is protected by its shard lock. Reads and membership updates may run concurrently; batch membership updates are not atomic across objects.
- PinCache
File ๐ - One local file, shared by the index and readers after publication.
- PinCache
Object ๐ - One registered SST object; registration alone does not make it readable or start refill.
- PinCache
Read ๐Handle - A reference to one published file, retained even after its object leaves the index. Reads never look up the object a second time. Callers must support fallback if the selected local file becomes unavailable.
- PinCache
Shard ๐ - One shardโs registered object index.
Functionsยง
- metric_
bytes ๐