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

translator中删除主键,记录日志数组越界异常 #18

Closed
316502769 opened this issue Jul 1, 2016 · 1 comment
Closed

translator中删除主键,记录日志数组越界异常 #18

316502769 opened this issue Jul 1, 2016 · 1 comment
Labels
Milestone

Comments

@316502769
Copy link

translator可以将主键删除(目标数据库自增主键,不需要主键id迁移),applier.apply 可以将数据插入目标数据库,之后 extractor.ack(ackRecords)需要取最后一条record的主键,会抛数组下标越界异常

@agapple
Copy link
Member

agapple commented Jul 1, 2016

  1. 提一个隐患,如果去掉主键,会导致目标端出现重复,如果出现重试
  2. 代码层面我会考虑兼容下

agapple added a commit that referenced this issue Jul 1, 2016
@agapple agapple added this to the v1.0.4 milestone Aug 16, 2016
@agapple agapple added the bug label Aug 16, 2016
@agapple agapple closed this as completed Aug 16, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants