Skip to main content

Module convergence_rules

Module convergence_rules 

Source
Expand description

The convergence rules (SY-20, SY-21, SY-22).

Each returns Result<RuleOutcome, Violation>, as every rule in this crate does. None has a capability to decline, so none ever reports a skip.

Functions§

convergent_projection_cannot_observe_local_position
SY-21. A declared projection cannot observe the local position: the same arrivals, numbered twice, commit byte-identical read models.
convergent_projection_is_interleaving_independent
SY-20. A declared projection commits byte-identical read models under two interleavings that agree on each origin’s order and disagree everywhere else.
non_convergent_projections_are_excluded_not_failed
SY-22. A non-convergent projection is left out of the convergence check, not failed by it.