Skip to main content

build_datanode_layered_cache_registry

Function build_datanode_layered_cache_registry 

Source
pub fn build_datanode_layered_cache_registry(
    kv_backend: KvBackendRef,
) -> LayeredCacheRegistry
Expand description

Builds the datanode cache registry with base metadata caches before derived caches.

Invalidating the base layer first prevents a concurrent query from refilling a derived cache from stale metadata after that derived cache has been invalidated.