SYSE.34 - Change Software and Persistent Data with a Recovery Boundary
Status: Stable
Normativity: Guidance within the stated software-and-data change use; examples are illustrative…
In SYSE.34 - Change Software and Persistent Data with a Recovery Boundary
… justify blindly restarting the whole procedure. Retain the old contract while the selected return depends on it. Removing old fields, accepting non-invertible new values or changing the write authority is a later state change with its own consumer and…
In SYSE.34 - Change Software and Persistent Data with a Recovery Boundary
In a constructed ParcelWorks example, one non-partitioned PostgreSQL 18 table has an immutable row ID and a non-null Unicode text value D, stored as delivery_address. Old applications read and replace that whole value. The new form edits the first display line L separately from…
In SYSE.34 - Change Software and Persistent Data with a Recovery Boundary
SYSE.34:10 - Rationale
Compatibility is a relation between actual representations and consumers over time. A transition must maintain that relation under the writers that remain active. Whether recovery is possible therefore depends on the resulting state and…
In SYSE.34 - Change Software and Persistent Data with a Recovery Boundary
SYSE.34:9 - Consequences
The pattern makes the conditions and limits of migration and recovery claims explicit. Compatible coexistence can reduce interruption while adding temporary schema, adapter and maintenance cost. Some changes remain irreversible or…
In SYSE.34 - Change Software and Persistent Data with a Recovery Boundary
SYSE.13 identifies software and data configurations. SYSE.27 and SYSE.29 address consumer compatibility and migration; SYSE.33 supplies controlled test conditions. SYSE.41 consumes the data-change result during deployment, SYSE.35 respects it during exposure…
In SYSE.34 - Change Software and Persistent Data with a Recovery Boundary
SYSE.34:6 - Bias-Annotation
Success on a static sample can hide concurrency, inherited privileges and rare representations. Teams can also prefer zero downtime without pricing the complexity of coexistence. Inspect real writers and adverse histories, and…
In SYSE.34 - Change Software and Persistent Data with a Recovery Boundary
SYSE.34:3 - Forces
Force Practical tension Continuing service and simple change Coexistence reduces coordinated interruption but adds compatibility and synchronization work.
New meaning and reversibility A richer representation can improve use while making…
In SYSE.34 - Change Software and Persistent Data with a Recovery Boundary
SYSE.34:2 - Problem
“Add fields, copy data, switch readers” leaves important work unspecified. Old writers may continue changing the original representation after a copy. Two new authorities can disagree. A retried backfill may overwrite a legitimate later…
In SYSE.34 - Change Software and Persistent Data with a Recovery Boundary
SYSE.34:7 - Conformance Checklist
Old/new meaning and information-loss boundaries are explicit.
All relevant writers/readers and engine-specific conditions are accounted for.
Where old and new representations coexist, the procedure identifies the write…
In SYSE.34 - Change Software and Persistent Data with a Recovery Boundary
SYSE.34:1 - Problem frame
Use this pattern when a software change can alter stored information, its interpretation, or which old and new consumers can use it. Start with the values that must survive, the permitted writers and readers, and the point at which a…
In SYSE.34 - Change Software and Persistent Data with a Recovery Boundary
SYSE.34:11 - SoTA-Echoing
For application/data transitions, adopt and adapt DORA Database change management and the foundational 2014 Parallel Change treatment. Compatible intermediate states and versioned migration are established professional Methods. A…
In SYSE.34 - Change Software and Persistent Data with a Recovery Boundary
SYSE.34:4.1 - Recover meaning, consumers and authority
Describe the old and proposed values using the application’s meaning, including null, empty, ordering, precision and identity distinctions that matter. Define a correspondence and any inverse. Identify…
In SYSE.34 - Change Software and Persistent Data with a Recovery Boundary
SYSE.34:8 - Common Anti-Patterns and How to Avoid Them
Misuse Repair Read old values, copy them later, then prefer any non-null new field. Account for intervening writes and establish a maintained correspondence before new-reader reliance.
Make both old and…
In SYSE.34 - Change Software and Persistent Data with a Recovery Boundary
SYSE.34:4.2 - Choose a change strategy and its states
Compare a bounded coordinated interruption with compatible coexistence. A short interruption can be simpler and safer for a small service; coexistence is useful only when its compatibility can be…