Lag in context
Do not read lag alone. Compare it with heartbeat age, source workload, rows applied, and recent CDC errors.
MySQL Replication Lag
Lag only matters when teams can act on it. Cupcake DRCP keeps replication lag tied to stream health, heartbeat freshness, workload activity, compare status, and cutover readiness.
Why It Matters
Do not read lag alone. Compare it with heartbeat age, source workload, rows applied, and recent CDC errors.
Use lag plus compare results to decide whether a target is ready to promote.
Keep a record of stream state so failover and recovery tests have evidence, not anecdotes.
Product Workflows
Checklist
Confirm the source is still producing heartbeats and the target worker is still polling.
Compare lag with recent rows applied so a quiet system is not mistaken for a stalled system.
Review the last CDC error and the current source position before promoting a target.
Run compare on cutover-critical tables when lag returns inside the acceptable window.
Community Discovery
FAQs
Not always. The right threshold depends on the migration or recovery objective, but teams need a clear signal before cutover.
It highlights heartbeat state, polling state, source load, and technical CDC events so operators can investigate quickly.