Jump to text
On this page
Copy and source
Published source confirmed at last check

Source changed 2026-11-26 21:07:53 UTC · snapshot created 2026-11-26 21:08:36 UTC · last check 2026-11-29 22:25:09 UTC

CMP.14:4.4 - Change the interaction that causes the failure

Construct a repair from the failed premise. Common choices have different costs:

Exposed difficultyConstructive choiceCost or condition to retain
An intervening write invalidates a readUse an atomic update, or validate the observed version and retry.The primitive must cover the relevant state; retries have a progress cost.
Intermediate state is observed inconsistentlySerialize the affected operation, protect its critical region or publish an immutable result.Waiting, ownership or retained copies replace the former interference.
A repeated message repeats an effectIdentify the logical request and combine effect application with remembering its result.Identifier lifetime and failure recovery must preserve the relation.
Components wait in a resource cycleImpose a shared acquisition order or another cycle-breaking protocol.All participating acquisitions must follow the rule; starvation remains a separate question.
The cost of the proposed coordination threatens the intended useDetermine whether a cheaper implementation can still supply the promised observation. If the observation itself must change, establish what the existing commission already permits. For a change outside those terms, obtain the decision of whoever holds that right, including a joint decision when required.Establish what the receiving algorithm can conclude under the agreed result specification.

For a repair, use the original failing trace to explain the changed behavior when that trace is available and informative. Justify the property over the interaction family the receiver needs. A new composition may admit a direct argument from its transition rules before any run has taken place.