Skip to content
This repository has been archived by the owner on Nov 24, 2023. It is now read-only.

syncer doesn't rotate to the next binlog file when no RotateEvent in the current binlog file #1038

Closed
csuzhangxc opened this issue Sep 15, 2020 · 0 comments · Fixed by #1039
Labels
severity/major type/bug This issue is a bug report
Milestone

Comments

@csuzhangxc
Copy link
Member

Bug Report

Please answer these questions before submitting your issue. Thanks!

  1. What did you do? If possible, provide a recipe for reproducing the error.

    stop and start the upstream MySQL server when replicating incremental data.

  2. What did you expect to see?

    the task resumed automatically after the upstream MySQL restarted.

  3. What did you see instead?

    [2020/09/15 15:17:56.076 +08:00] [ERROR] [subtask.go:295] ["unit process error"] [subtask=task_single] [unit=Sync] ["error information"="{\"ErrCode\":36001,\"ErrClass\":\"sync-unit\",\"ErrScope\":\"internal\",\"ErrLevel\":\"high\",\"Message\":\"panic error: table checkpoint position: (mysql-bin.000002, 568), gtid-set: 074be7f4-f0f1-11ea-95bd-0242ac120002:1-153 less than global checkpoint position: (mysql-bin.000002, 25660968), gtid-set: 074be7f4-f0f1-11ea-95bd-0242ac120002:1-153(flushed position: (mysql-bin.000002, 25660968), gtid-set: 074be7f4-f0f1-11ea-95bd-0242ac120002:1-153)\"}"]
    
  4. Versions of the cluster

    • DM version (run dmctl -V or dm-worker -V or dm-master -V):

      v2.0.0-rc.2
      

dm-worker-checkpoint.log

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
severity/major type/bug This issue is a bug report
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant