Shopify / ghostferry

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

add errorcallback to copydb #270

Closed Manan007224 closed 3 years ago

Manan007224 commented 3 years ago

Adding a field in ErrorCallback in copydb config, so that the errors can be posted to a callback server endpoint.

floriecai commented 3 years ago

Can we put the ErrorCallback in the generic config.go rather than the sharding/copydb specific ones? Then we can also delete the duplicate code in copydb.