A block published late, which can interrupt the state advance for the next slot.
We could add more descriptive logs for these two cases, and downgrade the cache miss itself to debug. Alternatively, in case (2) we may be able to detect that the state advance is not useful, i.e. if we're at slot n and the head is advanced on slot n with no block applied, then we can't advance it to n + 1 anyway.
Description
The
HeadMissingFromSnapshotCache
warning can seem quite intimidating, but it occurs for rather innocuous reasons:We could add more descriptive logs for these two cases, and downgrade the cache miss itself to debug. Alternatively, in case (2) we may be able to detect that the state advance is not useful, i.e. if we're at slot n and the head is advanced on slot n with no block applied, then we can't advance it to n + 1 anyway.