Invariant confluence
Invariant confluence requires valid states reachable from a common ancestor to remain valid when merged under the specified transactions and merge rule.
Contract: Specify the initial state, permitted transactions, invariant and merge operator together. Checking each replica locally is insufficient if their merged result can violate the invariant. [1]
Guarantee: In the paper's model, invariant confluence characterizes when invariant preservation, transactional availability, convergence and coordination-free execution can coexist. Changing the operations or merge rule changes the question. [1]
Relations
Citations
Sources & caveats
- Primary-source synthesis of the formal criterion, not a claim that arbitrary weakly consistent databases preserve application invariants.