Skip to content
← Insights

Writes During a Data Migration: How to Choose Your Cutover Strategy

Compare freezing writes, pausing briefly, and running systems in parallel. Choose an approach based on operational impact, data consistency, and recovery capabilities.

Conceptual diagram of write cutover from a source system to a destination system during a data migration.

A data migration does more than move records: it must also determine what happens to changes that arrive while the system is being switched over. If an order, reservation, or account update is written to the old system after the new one is live, it may be left out of the copy, appear twice, or differ between the two systems. The decision about writes affects business continuity, data integrity, and the ability to roll back.

There is no universally best strategy. A pause may be the safest option for data that must remain consistent, but unacceptable if it stops a critical operation. Keeping both systems active may reduce disruption, but requires clear rules for resolving conflicts and deciding which system is authoritative. Base the decision on the impact of an interruption, the actual ability to reconcile changes, and the cost of divergence.

Three cutover strategies

Three cutover strategies

Freezing writes means preventing changes in the source system for an agreed period. This may involve making it read-only or restricting functions that modify data. The team can then complete the copy and validate the destination without the source continuing to change. This is a clear option when consistency matters more than availability and the pause is acceptable. The business risk is that the window runs long or users and processes cannot complete their tasks.

Pausing for a limited window is an operational variation: writes are stopped only during the final part of the cutover, after most of the migration has been prepared and validated. This reduces downtime compared with a prolonged freeze, but depends on accurately estimating how long final synchronization and checks will take. If the agreed limit is exceeded, a decision should already be planned: extend the pause, resume writes on the source, or activate an alternative plan.

Keeping both systems active allows users to continue working during the transition. However, “both active” must not mean that each system accepts changes without coordination. A defined mechanism is needed to propagate or reconcile writes, handle errors, and prevent duplicates. If that mechanism does not exist or has not been tested against partial failures, apparent continuity may conceal divergent data.

How to choose with business and technology teams

Start by describing what an interruption means in operational terms. It is not enough to say that the service must be available: identify which actions must continue working, how long they can be stopped, and what happens if an operation remains pending. A secondary function might be paused; a transaction affecting inventory, payments, or urgent support may require a different decision.

Next, assess the frequency and volume of changes, but also their nature. Infrequent changes can still be sensitive if they affect several related entities. For example, updating a transaction’s status and decrementing inventory are effects that must remain coordinated. If two systems modify the same record or dependent fields, define in advance how a collision will be detected and resolved.

The level of consistency required is another practical criterion. Ask whether a system can display stale information during the cutover, whether users can see provisional statuses, and which data should be considered correct if there is a discrepancy. Finally, assess recovery capabilities: can each change be identified, its order reconstructed, and the change replayed without duplicating its effects? If tests do not support a confident yes, parallel writes add risk.

  • Favor a pause when a consistent state is required, the window is acceptable, and reliable reconciliation is unavailable.
  • Favor a brief pause when almost everything can be prepared in advance and testing can bound the final window.
  • Consider running both systems only when write authority, propagation, conflict resolution, and rollback are clearly defined.

The specific risk of writing to two systems

Dual writing can cause divergence through issues that do not appear in a normal, successful workflow. A request may reach one system and fail in the other; a retry may create a duplicate; or two users may change the same data before updates propagate. Validation rules, default values, or transformations may also differ, even if both systems appear to accept the same operation.

Before enabling this model, assign explicit responsibilities. Which component initiates the write? Which system is authoritative for each entity, and during which phase? How is successful propagation recorded? Who resolves conflicts, and according to what rule? “It will synchronize automatically” is not enough: verify what happens when there are delays, errors, and retries.

If writing to both systems is temporarily allowed, limit its scope. It may be safer for only one system to receive writes while the other consumes the changes, rather than allowing independent writes to both. The direction of synchronization must be defined and changed at a controlled point. Avoid letting different teams interpret write authority differently, especially during the transition.

Source of truth, reversibility, and testing

Set the specific moment when the authoritative source changes. Before that point, the source may continue accepting changes; afterward, the destination should be where new operations are recorded. If there is a coexistence period, document which data each system can modify and how a consistent view is maintained. Communicate the rule to operations, support, and product teams—not only to the people carrying out the migration.

Rolling back also requires a decision about writes. If the destination has already accepted changes, returning to the source is not the same as restoring an old copy: determine how those changes will be preserved without losing them or applying them twice. Define a point of no return or a rollback path, with owners and verifiable conditions. Reversibility exists only if data written after cutover can be recovered and reconciled in a controlled way.

Rehearse failure scenarios, not just the ideal workflow. Include changes to the source while the copy is being prepared, late-arriving data, partial errors, retries, and conflicts involving the same record. Check that teams can identify what was processed, what remains pending, and which operations can be safely repeated. Record observed rehearsal times to judge whether the proposed window is realistic, without assuming the duration will be identical in production.

When to stop the cutover and how to resume

Agree on the signals that will stop the process before it begins. These might include data discrepancies above the approved threshold, unexplained write errors, pending operations that cannot be reconciled, or a critical check that does not finish within the window. Thresholds should reflect business risk; there is no single value that applies to every migration.

If the process stops, do not improvise a second source of writes. The cutover owner should declare the status: proceed with a correction, maintain the pause, or return to the previous system using the agreed procedure. Before resuming, confirm which system accepts changes, which records are still pending, and whether repeated operations could duplicate effects. Record the decision and communicate it to the affected teams.

Checklist for agreeing on a strategy

Checklist for agreeing on a strategy
  • Which functions must continue, and how long can they be interrupted?
  • Which data and operations require immediate consistency?
  • Which system is authoritative before, during, and after cutover?
  • If dual writing is used, how will failures, conflicts, and duplicates be detected?
  • How will you verify that late-arriving changes were copied or reconciled?
  • What signal requires a stop, and who makes that decision?
  • How will changes be preserved if you return to the source system?
  • Who will communicate the pause, resumption, and any operational impact?

The final decision should be expressed as an operational rule: what can be written, in which system, during what period, and under what condition the cutover will stop or be reversed. If the team cannot answer these questions clearly, the prudent choice is to reduce the complexity of the transition, rather than trust a period of coexistence that it cannot yet reconcile.

Fuentes y referencias

  1. MDN Web DocsMozilla
  2. Web performanceweb.dev
  3. OWASP Cheat Sheet SeriesOWASP Foundation