Releasing schema changes across mixed versions
medium 6 minDuring a rolling deployment old and new binaries can read and write the same data.
Where it shows up
The same pattern appears across everyday software.
A new column meets an old reader
A migration immediately requires a field that old workers omit. New requests pass smoke tests but in-flight jobs from the previous release start failing. Inventory readers, writers, rollback candidates and asynchronous consumers. Inspect lock acquisition as well as data compatibility because even a metadata change may wait behind a long transaction.
Verifying the intervention
Restore a compatible transition and validate before enforcing the constraint. Exercise a mixed-version window. If mixed-version writes succeed but latency rises, inspect migration lock queues and backfill I/O before modifying format compatibility.