Created
February 5, 2021 19:59
-
-
Save isopropylcyanide/dcbe01cf146323ed3e989b850ec48a33 to your computer and use it in GitHub Desktop.
connector-hostname-death-view-offset.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- Current binlog = my-database-bin.000004. In sync but the host has changed. | |
{"ts_sec":1610704790,"file":"my-database-bin.000004","pos":1932,"row":1,"server_id":2001186,"event":2} | |
-- Once you update the connector, it will take a snapshot and update to the earliest binlog | |
{"file":"new-host-bin.000001","pos":2000} | |
-- As it is processing the events, it will update the status. Notice the new server id | |
{"ts_sec":1610708790,"file":"new-host-bin.000001","pos":2001,"row":1,"server_id":1973403,"event":2} | |
... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment