Tinker Shipping a release

by Samy (Kondasamy Jayaraman)

10:01: 25% of checkouts on the new version.

10:03. 6 customers hurt so far.25% on new · new 2/27 failed · old 3/73 failed

Chapter 5 of 7

Back it out

The saved-cards change moves card data into a new table. A quarter of checkouts have it when failures start.

This chapter: Can every change be rolled back?

About this chapter

You will learn

  • A migration changes the stored data, not only code
  • Old code can’t read moved data
  • Expand first, contract later, keeps the way back

Words you’ll meet

Migration
A change to how stored data is laid out, like moving it into a new table.
Expand and contract
Add the new layout beside the old, move everyone, then remove the old.

Step 1 of 5

The saved cards change also moved card data into a new table: a .

Predict whether the lever can undo it.

Card data now lives in a new table. Can the rollback lever bring the old version back?