pub fn spec_is_up_to_date(
view_meta: &ViewMetadata,
spec: &SourceDataBlocksInMemory,
candidates: &[PartitionFreshnessRow],
) -> Result<bool, Error>Expand description
Filters candidates down to the rows with exactly the spec’s insert range, then applies the
rows.len() == 1 / file_schema_hash / exact object-count checks. Used by the
BlockOrder::EventTime views (thread_spans/net_spans) only: their cut points can move
between jit_update runs, so a later run’s spec can be narrower than an already-written
partition that still overlaps it, and an overlap test would call that stale, wider partition up
to date and leave it in place forever. Exact equality reports “not up to date” instead, so the
write falls through to RetireMatch::Overlap (see write_partition.rs). The InsertTime views
judge freshness per bucket with resolve_bucket_coverage.