← Back to the chapter · Previous detail
Technical detail · Storage Roles and Data Lifecycle
Rebuild a cache without inventing current values
Another failure appears when derived views are not rebuilt from authoritative data. If a latest-value cache for 600 devices is cleared during maintenance, the recovery run should read the newest accepted durable record per device, rebuild 600 cache entries, and mark any missing device with an explicit stale or unknown state. If the rebuild finds 12 devices with no valid sample in the last hour, that is operational evidence, not a reason to invent current values. The under-the-hood rule is simple: every derived copy needs a named source, rebuild query, exception route, owner, and retest trigger.