Function distinct_projections_advance_independently
pub async fn distinct_projections_advance_independently<F: ProjectionFixture>(
open: impl AsyncFn() -> F,
) -> RuleOutcomeExpand description
One commit advances exactly one ProjectionId.
PS-23. Two projections over one store advance at their own rates, and neither one’s commit may disturb the other’s checkpoint or its rows.
Rejects: SingleRowCheckpointStore — an adapter with a single-row
checkpoint table, which is what a store that has only ever run one
projection will write. It passes every other rule in this family, which is
exactly why this one has to exist. CheckpointOnlyStore and
UncommittedTransactionStore also fail it, at the row half and the
checkpoint half respectively, and their registry rows say so.