Code Monkey home page Code Monkey logo

Comments (7)

 avatar commented on July 22, 2024

需要设置log_level=debug,复现,并提供日志。

from dtle.

lenovore avatar lenovore commented on July 22, 2024

dtle.log
开启debug,看日志没发现啥异常的。

from dtle.

lenovore avatar lenovore commented on July 22, 2024

这个日志是我换了镜像版本(actiontech/dtle:4.22.11.0)后的debug日志,结果也是一样,最新的数据就是不到目的表。

我之前是整库同步的,是没问题的,这次就是有重命名库并只同步部分表。

from dtle.

lenovore avatar lenovore commented on July 22, 2024

使用4.23.04.2版本,查看日志一直有警告信息
[WARN] reader: mysql.reader: QueryEvent is not recognized. will still execute: job=dtle-track query=COMMIT gno=89248399

增量阶段最新数据还是没同步

from dtle.

lenovore avatar lenovore commented on July 22, 2024

猜测原因是rds5.6实例从库不支持复制

from dtle.

 avatar commented on July 22, 2024

暂不考虑MySQL 5.6方面的修复.

但query event COMMIT是如何发生的, 以及代码上的支持需要考虑.

[WARN] reader: mysql.reader: QueryEvent is not recognized. will still execute: job=dtle-track query=COMMIT gno=89248399

理论上MyISAM表会出现query event COMMIT, 但aliRDS应该不支持MyISAM.

from dtle.

 avatar commented on July 22, 2024
  • 开通ali "RDS 5.6常规实例 (高可用版)".
    • 未开通读写分离.
  • 只给了一个连接地址&端口.
  • 连上后show slave status显示Running: Yes. 同时可执行写语句.
    • 所以不清楚连接的是RDS主实例还是从实例. 抑或是其并未使用MySQL原生复制.
  • 使用dtle复制到本地MySQL 8.0, 一切正常

from dtle.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.