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

Java程序调用datax启动多个同步任务报错,每个任务单独执行没问题 #2124

Open
C-ZhengL opened this issue May 17, 2024 · 3 comments

Comments

@C-ZhengL
Copy link

同时启动多个任务,或者循环启动多个任务,数据库插件是一个,但是会报脏数据,如果每个任务执行完停了应用程序然后执行下一个任务就正常,感觉第一个任务执行完成后没有清理资源,第二个任务读到了第一个同步任务的同步信息,也可能是俩个任务没有隔离环境? 求解决~

@C-ZhengL
Copy link
Author

C-ZhengL commented May 17, 2024

读写插件使用的是oceanbase

@Ashonyer
Copy link

Ashonyer commented Jul 2, 2024

要不,发一下具体报错日志,datax把所有插入失败的数据都当做脏数据处理了,通过以上描述看不出来失败原因,不排除是目标端的问题

@duhanmin
Copy link

duhanmin commented Jul 11, 2024

#2154

我这个解决方案可以保证不报错
但是JobContainer里面的任务数量监控数据是错误的

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

3 participants