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

查询最大 ID 时候不应该提供默认值 #415

Open
wants to merge 1 commit into
base: 2.1.2-release
Choose a base branch
from

Conversation

shuiqingliu
Copy link

在同步模式为 ID 自增模式时候,捕获异常会导致获取到的 ID 为 0
造成同步任务 ID 回环,经历 MaxID,0 --> 0,0 --> 0,MaxId
造成全表同步,主键冲突问题,应该让 trigger 获取最大 ID 异常而失败

在同步模式为 ID 自增模式时候,捕获异常会导致获取到的 ID 为 0
造成同步任务 ID 回环,经历 MaxID,0 --> 0,0 --> 0,MaxId
造成全表同步,主键冲突问题,应该让 trigger 获取最大 ID 异常而失败
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant