# The Cutover: Freeze, Rollback Plan and Go/No-Go | gen2.dev

> How to plan a system cutover: the freeze, the rollback plan and point of no return, data backfill, the rehearsal, the go/no-go and the first 72 hours.

Source: https://gen2.dev/guide/cutover/

---

Field Guide

# The cutover

The moment work stops going to Gen 1 and starts going to Gen 2 is the riskiest step in the project. It is also the one that gets planned last, with whatever schedule is left.

![Slide: a track switch from Gen 1 to Gen 2 with rollback, above six steps from the freeze to the first 72 hours.](https://gen2.dev/img/cutover.png)

Every replacement ends with a cutover. It may be one night, or it may be two hundred small routing changes spread over a year. Either way, the plan has the same six parts: the freeze, the rollback plan, the data, the rehearsal, the go/no-go and the first 72 hours.

Before any of that, decide which kind of cutover this is.

## Big bang or gradual

Default to gradual. Google's SRE book describes the normal practice: new software goes onto a few machines, is observed for a defined period, and "If the change doesn't pass the validation period, it's automatically rolled back." The SRE Workbook calls this canarying: "a partial and time-limited deployment of a change in a service and its evaluation."

Go gradual when

A big bang is the right call when

Work can be routed by customer, region or feature

The data cannot be split: one ledger, one inventory, one set of balances

Both systems can share data or be kept in sync

Keeping two stores in sync would cost more than the downtime

Users will not accept planned downtime

There is a real quiet window, such as a weekend or a year end

The system is too large to rehearse end to end

The whole move can be rehearsed in full, more than once

A big bang is not a shortcut. It puts all of the risk into one night, so it needs more rehearsal than a gradual cutover, not less.

The gradual tools are covered on their own pages: the [strangler fig pattern](https://gen2.dev/guide/strangler-fig/), the [parallel run](https://gen2.dev/guide/parallel-run/) and [dual write](https://gen2.dev/guide/dual-write/). Even a big bang can borrow from them. Martin Fowler's blue-green deployment keeps the old environment intact and switches a router, which he says "gives you a rapid way to rollback." He also describes putting the application in read-only mode before the switch and running it that way for a while before allowing writes. When one event really is the only option, the [big-bang cutover](https://gen2.dev/guide/big-bang-cutover/) page covers what it demands.

## 1\. The freeze

A cutover needs Gen 1 to hold still. Write down four things:

-   **The code freeze date,** and the only exceptions: security fixes and outage fixes.
-   **The schema freeze date.** Earlier than the code freeze, because the migration scripts are written against the schema.
-   **The reference data freeze.** Price lists, permissions, tax tables. Changes here break verification as surely as code does.
-   **One named person** who approves exceptions.

Tell the business the dates in writing. A short freeze holds. A long one leaks, and every leak is a change Gen 2 does not have. If the freeze cannot be kept for as long as the plan needs, the plan is wrong, and the cutover should be gradual.

## 2\. The rollback plan and the point of no return

Rollback is easy until Gen 2 accepts a write that Gen 1 never sees. After that, going back means losing data or migrating it in reverse. That moment is the point of no return. Find it on purpose.

1.  **Name it in the runbook,** as a step number.
2.  **Push it as late as possible.** Run Gen 2 read-only first, or keep writing to Gen 1 so it stays a valid fallback. Stripe's migration kept writing to both stores until reads had been moved and checked; only then did writes to the old store stop.
3.  **Write the rollback triggers in advance, as numbers.** An error rate, a reconciliation mismatch, a clock time. "If step 14 is not complete by 3:00 a.m., roll back."
4.  **Time the rollback.** If going back takes four hours and the window is six, the decision has to be made by hour two.
5.  **Plan for after.** Past the point of no return the only plan is to fix forward. Say so, and staff for it.

## 3\. Backfill and verification

Stripe's write-up of a large data migration is the clearest public example. The steps were: write to both stores, move the reads, move the writes, remove the old data. The backfill ran offline against snapshots so production databases were not loaded, and reads were compared across both stores with GitHub's Scientist library before anything was switched.

A verification checklist:

-   Row counts per table, broken down by day or by customer.
-   Totals of every money column, to the cent.
-   Field-by-field comparison of sampled records, including the oldest and the strangest.
-   The same reads run through both systems and compared.
-   A second pass after the backfill, to catch what changed while it ran.
-   A mismatch threshold agreed before the numbers are in. For money it is zero.

## 4\. The rehearsal

-   Use a full copy of production data. Timing depends on volume, and samples lie about it.
-   Use the same people, the same runbook and the same order.
-   Time every step and write the durations into the runbook.
-   Rehearse the rollback too. An unrehearsed rollback is a hope.
-   Repeat until a rehearsal produces no changes to the runbook.

The SRE book says each item on a launch checklist should be justified, "ideally by a previous launch disaster." Rehearsals are how a team gets its disasters cheaply.

## 5\. The go/no-go

One meeting, one named decider, and criteria written before the meeting. Each is answered yes or no:

-   The last rehearsal ran clean and inside the window.
-   Verification passes at the agreed thresholds.
-   The rollback has been rehearsed and timed.
-   No open defect is in the agreed blocking class.
-   On-call is staffed for both systems, and support has been briefed.
-   Users and customers have been told.
-   A fallback date exists.

The last item matters most. If there is no next date, nobody can say no, and the meeting is a ceremony.

## 6\. The first 72 hours

-   **Staff a watch** with the people who built Gen 2. Write the rotation in advance so nobody is awake for thirty hours.
-   **Watch absolute numbers.** The SRE Workbook advises using "absolute measures, such as defined SLOs." Add business numbers: orders, payments and logins against the same day last week.
-   **Wait for the first run of everything scheduled.** The nightly batch, the billing run, the weekly report. Month-end will not happen inside 72 hours, so put it on the calendar with names against it.
-   **Keep one issue list.** Every item gets one of three answers: fix now, fix this week, accepted.
-   **Change nothing in Gen 2 except fixes.**
-   **Leave Gen 1 intact and read-only.** Switching it off is a separate job, covered in [Killing Gen 1](https://gen2.dev/guide/killing-gen-1/).

## When not to use it

A staged plan with a freeze, a rehearsal and a go/no-go is for systems that hurt when they fail.

-   **A static or read-only system** can usually be switched at the router and switched back.
-   **A slice already behind a feature flag** has its own switch and rollback; use that.
-   **A system that is being retired, not replaced,** needs [killing Gen 1](https://gen2.dev/guide/killing-gen-1/) instead.

## How it goes wrong

-   **The freeze leaks.** One urgent change goes into Gen 1 and never reaches Gen 2.
-   **The rollback plan quietly expires.** It worked until the first new write, and nobody marked that step.
-   **The rehearsal used sample data.** The real backfill outran the window.
-   **The go/no-go could not say no.** The date had been promised upward.
-   **The team was reassigned at cutover.** The first month-end arrived with nobody watching.

The [Digg v4 case file](https://gen2.dev/cases/digg-v4/) is worth reading before planning a big bang. The [Firefox Quantum case file](https://gen2.dev/cases/firefox-quantum/) is the gradual alternative.

## What to take from it

-   Choose gradual unless the data truly cannot be split.
-   Know the step after which there is no going back, and move it as late as possible.
-   Verify data with counts and totals, against thresholds set in advance.
-   Rehearse until the runbook stops changing, rollback included.
-   A go/no-go needs a real no.
-   The cutover is finished after the first month-end, not the first morning.

## Sources

1.  [Google SRE Book - Reliable Product Launches at Scale](https://sre.google/sre-book/reliable-product-launches/) - launch checklists, gradual and staged rollouts, automatic rollback
2.  [Google SRE Workbook - Canarying Releases](https://sre.google/workbook/canarying-releases/)
3.  [Jacqueline Xu - Online migrations at scale (Stripe, February 2, 2017)](https://stripe.com/blog/online-migrations) - dual writing, offline backfill, verifying reads before switching
4.  [Martin Fowler - Blue Green Deployment (March 1, 2010)](https://martinfowler.com/bliki/BlueGreenDeployment.html)

Last updated November 29, 2026.

## Field Guide

-   [Rewrite vs refactor](https://gen2.dev/guide/rewrite-vs-refactor/)
-   [The 7 Rs](https://gen2.dev/guide/seven-rs/)
-   [Characterization tests](https://gen2.dev/guide/characterization-tests/)
-   [Estimating a rewrite](https://gen2.dev/guide/estimating-a-rewrite/)
-   [Strangler fig pattern](https://gen2.dev/guide/strangler-fig/)
-   [Monolith to microservices](https://gen2.dev/guide/monolith-to-microservices/)
-   [Lift and shift](https://gen2.dev/guide/lift-and-shift/)
-   [Second-system effect](https://gen2.dev/guide/second-system-effect/)
-   [Branch by abstraction](https://gen2.dev/guide/branch-by-abstraction/)
-   [Anti-corruption layer](https://gen2.dev/guide/anti-corruption-layer/)
-   [Parallel run](https://gen2.dev/guide/parallel-run/)
-   [Shadow traffic](https://gen2.dev/guide/shadow-traffic/)
-   [Dual write and data migration](https://gen2.dev/guide/dual-write/)
-   [Expand and contract](https://gen2.dev/guide/expand-and-contract/)
-   [Data migration tools](https://gen2.dev/guide/data-migration-tools/)
-   [The cutover](https://gen2.dev/guide/cutover/)
-   [Feature flags and dark launches](https://gen2.dev/guide/feature-flags-and-dark-launches/)
-   [Big-bang cutover](https://gen2.dev/guide/big-bang-cutover/)
-   [API versioning](https://gen2.dev/guide/api-versioning/)
-   [Running two systems](https://gen2.dev/guide/running-two-systems/)
-   [Killing Gen 1](https://gen2.dev/guide/killing-gen-1/)
-   [Rewriting a mobile app](https://gen2.dev/guide/rewriting-a-mobile-app/)
-   [Selling a rewrite](https://gen2.dev/guide/selling-a-rewrite/)
-   [AI-written code](https://gen2.dev/guide/ai-written-code/)

## Should we rewrite it?

Sixteen questions about your system. A recommendation, and the reasoning behind it.

[Start the questions](https://gen2.dev/should-we-rewrite/)
