Shopify / ghostferry

The swiss army knife of live data migrations
https://shopify.github.io/ghostferry
MIT License
694 stars 65 forks source link

Add wait for Target Binlog Streamer to catch up before cutover #275

Closed xliang6 closed 3 years ago

xliang6 commented 3 years ago

During our recent test run, we noticed that the Target Binlog Streamer can be significantly lagged during cutover when the Target Verification is enabled. This caused longer than necessary downtime during cutover. This PR addresses the issue by waiting for Target Binlog Streamer to catch up before entering cutover, like how we currently wait for the Source Binlog Streamer.