SYSE.34:4.3 - Construct the write and backfill mechanism
Choose one authoritative representation during coexistence when that can satisfy the use, and derive the other views through a specified transactional or otherwise qualified mechanism. If independent writers are required, obtain an explicit conflict/order resolution Method; the instruction “write both” does not supply one.
Select a backfill rule that accounts for concurrent updates. Use the database’s qualified locking, current-row or version-check behavior so that an old observation cannot silently replace a later legitimate write. Bound work and resource effects, including locks, storage growth and effects on serving traffic.
Identify which data changes and progress records commit together and which dependent or external effects can occur separately. After a lost acknowledgement, use an existing confirmed result if it suffices. Replay is available when the operator is authorized and the qualified procedure preserves the required result for every still-possible outcome of the earlier attempt. Include partial execution, later legitimate writes and effects such as a payment, notification or physical movement. If a repeat could duplicate an effect or overwrite a newer value, establish the relevant state first or hold the affected operation. To attribute an effect to a particular attempt, use evidence tied to that attempt or report the attribution as unknown. Check the resulting state against the needs of the reader or operation that will use it.