Function read_from_and_to_bound_a_closed_window
pub async fn read_from_and_to_bound_a_closed_window<F: Fixture>(
open: impl AsyncFn() -> F,
) -> RuleOutcomeExpand description
from and to together name a closed window, and nothing outside it is
yielded.
ES-16 and VT-29’s headline capability: a backfill worker owning [1, H]
while a tail worker owns everything above it. Neither bound alone can
express that, which is why this is its own rule rather than a second
assertion in read_to_is_inclusive.
It rejects three stores, and the third is why the window has a lower
bound at all. ToBoundIgnoredStore returns everything from the lower
bound to the end; ToIsExclusiveStore drops the window’s top event; and
FromIsAnOffsetStore — from bound to the OFFSET already in the paging
query — slides the window by the lower bound’s numeric value, which is a
different window entirely on any store whose positions do not start at
one.
The window is the middle three of five, so a store that got either end wrong returns a different set rather than merely a longer one.