pending
The refs of type's snapshots a rebuild at state revision has to rewrite: those of another state revision, and those marked stale; at most limit of them, in key order (tenant, then aggregate id, by code point), after after when it is given.
A scan from the first (no after) lists every snapshot whose save, batch, rewrite or stale mark returned before the call, and a page after after at least those of them that sort after it: the rebuild's scan after its final mark rests on it, so a write that came before the mark is never hidden under a table marked rebuilt. A store whose searches see a write only later refreshes first, whatever its own configuration: the writes may be another node's, configured otherwise (Elasticsearch, whatever refresh its writers use).