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

可能出现的问题 #2

Open
Bi6ocp opened this issue Apr 4, 2019 · 0 comments
Open

可能出现的问题 #2

Bi6ocp opened this issue Apr 4, 2019 · 0 comments

Comments

@Bi6ocp
Copy link

Bi6ocp commented Apr 4, 2019

首先感谢楼主分享
但细致研究了下发现会有两个问题:
1、回滚日期之前的数据无法同步
2、删除目标表数据方式欠妥,在线上数据表中数据随时可能被访问,如果用户使用某条数据过程正好处于同步中间(删除目标表和同步目标表时间之间),因为查不到这条数据,程序肯定会报错

建议:
1、即使某次同步失败,目标表中有多余数据,在不删除目标表数据情况下,我想也不会出现下次同步多余数据的情况,因为后面有一步与源表进行对比,上次同步失败同步的部分数据会在这个过程设置为更新,而不是增加。

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

No branches or pull requests

1 participant