Migration and cutover
The roadmap in the worked example sets out three stages over nine months. This page shows how each stage replaced part of the old system safely, following principle P8: every change is reversible.
Diagram
Section titled “Diagram”- In stage 1, new applications enter through the application service, which passes them to the old system so its nightly batch still decides.
- In stage 2, the decision service runs in parallel with the batch for four weeks, then takes over.
- In stage 3, funding is automated, branches move over and the old system is switched off, its records archived.
Stage 1: digital front door
Section titled “Stage 1: digital front door”- The new application service (ADR-003) took web applications from day one, behind a feature flag at 5%, then 25%, then 100% over three weeks (ADR-012).
- A small legacy feeder passed each completed application to the old system’s import interface, so the nightly batch kept deciding. Customers saw a better application; credit saw no change.
- Branches stayed on the old flow, by design.
- Rollback: turn the flag off; the old web form was kept running until stage 2.
Stage 2: parallel run
Section titled “Stage 2: parallel run”The riskiest step: changing who makes credit decisions (ADR-011).
| Week | What happened |
|---|---|
| 1 | Decision service decides every application in shadow mode; the batch still decides for real. Daily comparison report to credit |
| 2 | Agreement on outcomes 94.1%. Two rule translation errors found and fixed (see test strategy) |
| 3 | Agreement 98.4%. Remaining differences reviewed one by one: all explained by the batch’s stale overnight bureau data |
| 4 | Agreement 98.7% over about 9,000 applications. Credit and compliance sign off the switch |
Switch: the decision service became the decider for web applications on a Tuesday morning, with the batch still running in shadow for two more weeks as a safety net. Adverse action notices moved to the notice service at the same moment, so reasons always came from the system that made the decision (ADR-004).
Rollback criteria, agreed beforehand: approval rate moving more than 3 points from the shadow results in any day, any decision without reason codes, or the decision journey’s error budget burning at the fast rate for an hour. None were triggered.
Stage 3: automated funding, branches and retirement
Section titled “Stage 3: automated funding, branches and retirement”- The funding service went live for web loans first, with funding operations checking every payment against the old manual process for the first week.
- Branches moved to the new flow over four weeks, ten branches a week, each with a half-day of training and a floor walker on the first day.
- The old origination system was retired at the end of month 9.
Data migration: drain, don’t move
Section titled “Data migration: drain, don’t move”Moving half-finished applications between systems is where migrations go wrong. Example Lending avoided it:
| Data | Approach | Why |
|---|---|---|
| New applications | Created in the new platform from each channel’s switch date | No migration needed |
| In-flight applications at each switch | Drained: finished in the old system, which stayed available for 30 days after each channel moved | Avoids translating partial states between two state machines |
| Funded loans | Already in the servicing system; untouched (R-04) | No migration needed |
| Historical decisions from the old system | Exported once to a read-only archive with the same 7-year retention lock as the decision log, with a checksum report | Kept for Regulation B and examinations; never loaded into the new decision service |
| Reference data (branches, products, rate sheets) | Migrated with a reconciliation report signed off by the product owner | Small, but errors here would reach every loan |
Cutover runbook: retiring the old system
Section titled “Cutover runbook: retiring the old system”The final cutover ran on a Saturday at the end of month 9, after two full rehearsals on a copy of production.
| Time (Central) | Step | Go/no-go check |
|---|---|---|
| Fri 18:00 | Freeze: no new applications in the old system (all channels already moved); final in-flight count confirmed as zero | Zero open applications in the old system |
| Sat 08:00 | Final export of historical decisions to the archive | Record counts and checksums match |
| Sat 10:00 | Compliance samples 50 archived decisions for completeness | Compliance sign-off |
| Sat 12:00 | Old system set to read-only; legacy feeder and batch jobs disabled | No scheduled jobs running |
| Sat 14:00 | Network access to the old system removed except for the archive team | Synthetic checks on the new platform all green |
| Mon 08:00 | Business day starts on the new platform only | SLOs normal by 10:00 |
| +90 days | Old system’s infrastructure decommissioned | Archive retrieval drill passed |
Rollback: until Monday 08:00, re-enabling the old system was a documented 30-minute procedure, rehearsed once. After that, the old system was read-only, and the archive is the only copy that matters.
What made this work
Section titled “What made this work”- Each stage was useful on its own, so the program could have stopped after any stage and still delivered value.
- The riskiest change got the longest rehearsal: four weeks of parallel run for decisions, against one week for funding.
- Nothing half-finished was moved. Draining in-flight work cost 30 days of running two systems, and avoided the most common migration failure.
- Rollback criteria were written before each switch, so nobody had to decide under pressure what “bad” looked like.
Related pages
Section titled “Related pages”- Failure story: The migration that passed reconciliation
- Failure story: The rollback that lost successful orders
- Failure story: The backfill that overwrote a live update
- TOGAF worked example, for the roadmap and work packages
- Scenario: the core system nobody dares to change
- Zero-downtime schema changes
- Architecture in delivery planning
- Strangler fig
Written and edited by Abhinav Taduka, enterprise software architect.
New pages are added regularly. Follow Abhinav on LinkedIn to see them first.