has_cached_symbolic

Function has_cached_symbolic 

Source
pub(crate) async fn has_cached_symbolic(
    cache: &DiskCache,
    cache_key: &str,
) -> bool
Expand description

Whether symbolic data is cached for cache_key.

The optimized-Parquet route’s parse is what writes the symbolic sidecar, so a replay that skips the parse must first check the sidecar is there. Without this, a body entry that outlived its symbolic entry replays forever and GET /api/v1/parse/symbolic/{cache_key} answers 202 to a key nobody writes – the same shape as the geometry/data-model trap in #3869.

load_cached_symbolic cannot stand in: it answers SymbolicDataWithProvenance::default() for an absent entry and for a model with no 2D symbols alike, so absence there is indistinguishable from success.