Pcornel
Storage · Replication

Asynchronous Replication

Cheat sheet · https://pcornel.dk/topic.php?topic=4233

Back to the Topic

Answer

Changes accumulate in a journal, log, snapshot delta or replication queue and are shipped/applied later. The recoverable target point therefore trails the source by a measurable amount that can vary with workload and transport capacity.

Remember

  • Asynchronous ≠ scheduled only; it may stream continuously.
  • Zero current lag ≠ zero future RPO.
  • Source acknowledgement ≠ remote persistence.
  • Replication lag ≠ only network latency.

First checks

  • zfs list -t snapshot -r <dst> | tail -1 — latest replicated
  • Get-VMReplication | ft VMName,LastReplicationTime — Hyper-V
  • rbd mirror image status <pool>/<img> — Ceph

Verify in this order

write → ack → later shipped → target

Where it usually breaks

First mismatch in source consistency → capture/journal → transport → repository/replica → catalog/checkpoint → restore/failover read-back; preserve identity/pre-state before mutation.

Replication → Asynchronous Replication proof map

Storage boundaryWhat to verifyProof limit
Identity / stateCorrect object, source/target or snapshot point and same-window timestampsInventory alone does not prove data correctness
Dependency pathChange capture, queue/transport, target apply and currency checkpointA healthy adjacent component is not end-to-end proof
Failure boundaryAsync replication state proves the target has applied changes through a specific checkpoint; it does not prove source writes newer than that checkpoint are recoverable remotely.Correlate evidence for the same operation and time window
AcceptanceHealthy evidence for Asynchronous Replication: source and target identity/ownership are unambiguous, replication advances through the expected checkpoint, target apply succeeds, and the required read-back or promotion test matches the protected state.Close only after original read-back/recovery test and protection-state verification

Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=4233

Confirmation

Confirm action

Continue?