Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dm: add dml replication logic #9121

Merged
merged 12 commits into from
Jun 20, 2022
Prev Previous commit
Next Next commit
Update dm/dm-dml-replication-logic.md
Co-authored-by: sunzy <sunzy2@gmail.com>
  • Loading branch information
ran-huang and sunzhaoyang authored Apr 27, 2022
commit d28aedca1cc1728bc09bd77e9dcb0506631cfb9e
2 changes: 1 addition & 1 deletion dm/dm-dml-replication-logic.md
Original file line number Diff line number Diff line change
Expand Up @@ -152,4 +152,4 @@ DML 执行和 checkpoint 写操作不是同步的,并且写 checkpoint 操作

### 精确一次处理 (Exactly-Once Processing)
ran-huang marked this conversation as resolved.
Show resolved Hide resolved

DM 的拆分事务再并发同步的逻辑存在已知问题,比如下游可能停在一个不一致的状态,数据的同步顺序与上游不一致,可能导致数据重入。安全模式期间 `REPLACE` 语句会有一定的性能损失,如果下游需要捕获数据变更(如 change data capture),那么重复处理也不可接受
目前 DM 仅保证最终一致性,尚未支持”精确一次处理“及”保持事务原有顺序同步“
ran-huang marked this conversation as resolved.
Show resolved Hide resolved