pingcap / pingcap/docs-cn

tidb DM支持华为云RDS-MSYQL

Open
#20,646 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

area/dm
Dominant language
Python
Stars
1.8k
Forks
1.2k
Avg merge
1d 16h
Merged PRs (30d)
31

Description

看你们文档说是dm不支持华为云RDS-Mysql,我验证了一下,是可以同步的。我的验证逻辑是这样的:
按照文档中同步模式选择all,然后发现连通了,但是数据库和表不生成,但是在源库中改个值,binlog就过来了,但是报错,因为库表不存在。我就查原因。没查到。
后来,联系了华为云的技术支持,原来华为云RDS-MSYQL本地保存的binlog模式保存时长是0,就是被从库拉取后立刻就上传到OBS了,本地没有保存。
所以调整一下binlog的时间为非0后,(我调整的是72小时),同步就正常了。
原因分析,dm同步模式all的同步路径是先dump,后追binlog,我猜你们去锁定pos的时候,上游数据库保binlog的时间存参数为0可能就给你返回了什么非你们预知的参数,造成你们那啥了,请修改你们的DM 华为云支持那部分的说明。

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the DM Huawei Cloud RDS-MySQL support section referenced in the documentation, then read the issue's explanation of binlog retention and the all-mode synchronization flow. Update the guidance to explain that local binlog retention must be nonzero, including the reported 72-hour setting, and verify that the resulting instructions describe the successful synchronization conditions.

Written by the indexing model from the issue text.

Assessment

Tech stack
mysql
Domain
documentation
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.