markdowneditor

Migration Plan: [system / data]

Migration plan – phases, dual-write, rollback triggers

सॉफ़्टवेयर और इंजीनियरिंगमानकmigrationplan
एडिटर में खोलें.md डाउनलोड करें

उपयोग कैसे करें: Any data/traffic move. Write rollback triggers before starting; negotiating them mid-incident is how bad migrations become outages.

प्रीव्यू

Migration Plan: [system / data]

Moving [data / traffic / users] from [old] to [new] without losing either. The rollback plan is a section, not a hope.

FieldValue
Migration[name]
Owner@name
WindowYYYY-MM-DD to YYYY-MM-DD
Approvers@name, @name
StatusPlanning / In flight / Done / Rolled back

Current -> target state

AspectCurrentTarget
System[old][new]
Data volume[N records / size][same / transformed]
Consumers[list][list]

Strategy

Pattern chosen: big-bang / phased / strangler / dual-write.

flowchart LR
    A[Old system] -->|dual write| B[New system]
    A -->|backfill| B
    B -->|verified| C[Cutover]

Rationale: [why this pattern over the alternatives]

Steps

#StepCommand / actionVerifyOwner
1Backfill...Row counts match@name
2Shadow read...Diff rate < N%@name
3Cutover...Traffic 100% on new@name
4Decommission...Old system off@name

Rollback

Trigger conditions – agreed in advance, not negotiated at cutover:

  • Error rate > N% for N minutes
  • Data reconciliation diff > N records
  • SLO burn rate > Nx

Rollback procedure: [reverse steps, restore point, flag/DNS to flip]. Rollback decision owner: @name.

Data integrity

  • Reconciliation method: [checksums / row counts / sampling]
  • Sample verification: [N records, which fields]
  • Write-drift policy during migration: [queue / dual-write / freeze]

Risks

RiskLikelihoodImpactMitigation

Communication

AudienceWhenChannelOwner
TeamT-7 days[channel]@name
UsersT-0[status page]@name

Post-migration checklist

  • Monitoring confirms new system healthy for N days
  • Old system set read-only, then decommissioned
  • Docs and runbooks updated
  • Retrospective scheduled

संबंधित टेम्पलेट