Track index key ranges in view read sets
Author: joshua-spacetimeCreated Nov 25, 2025Updated Sep 29, 2026
We currently track single index key lookups in a view's read set, but we treat range scans as full table scans which means if any row of the table is updated we must re-evaluate the view even if that row falls outside of the index key range that was used. We should also track index key ranges in the read set in the same way that we do single index keys.
Source: clockworklabs/SpacetimeDB