Order the steps
Order renaming fullname to display_name with no downtime.
- Drop
fullnamein a later release - Backfill
display_namein batches - Deploy code that writes both and reads
display_namewith a fallback - Add
display_nameas a nullable column - Deploy code that uses only
display_name
Choose an answer, then open Show answer below to check it.
Show answer
Answer: D C B E A
- Add
display_nameas a nullable column Old code ignores it. - Deploy code that writes both and reads
display_namewith a fallback Old and new code both work. - Backfill
display_namein batches Every row now has it. - Deploy code that uses only
display_nameNothing readsfullnamenow. - Drop
fullnamein a later release The contract step.