-
Notifications
You must be signed in to change notification settings - Fork 188
relay didn't get latest "min location from subtasks", and when continue parsing heartbeat logic is wrong #1524
Comments
for 1.1, seems the failure is caused by multiple mysql instance hiding from a same IP/source-id, so there maybe mixed server_uuid/
|
|
Seems we parse from WriteRowsEvent first when reparse. I think 1.0 has the same problem. |
Now I think the |
I remember that parser will parse TableMapEvent and WriteEvent together, and may not stateful. good night. 🤣 |
We continue using same there's some error filter about errMissingTableMapEvent. Will check if this can support DM-worker restarting on relay.meta after release |
Bug Report
Please answer these questions before submitting your issue. Thanks!
two problems from https://github.com/pingcap/dm/pull/1518/checks?check_run_id=2165916757
1.1 when resuming relay from detecting upstream switching, relay didn't get the chance to run the code of "get min location from subtasks", so it will pull very old binlogs (introduced by #1507)
1.2 when we continue parsing relay log files because of
needReParse
, we may continue from a location between "GTIDEvent" and "XIDEvent", soreplaceWithHeartbeat
is wrongly calculatedThe text was updated successfully, but these errors were encountered: