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

Using the concurrent way to shutdown the jobs #493

Closed
heziai opened this issue Sep 7, 2018 · 0 comments
Closed

Using the concurrent way to shutdown the jobs #493

heziai opened this issue Sep 7, 2018 · 0 comments

Comments

@heziai
Copy link
Member

heziai commented Sep 7, 2018

解决的问题:串行关闭作业,如果某个作业关闭耗时过长,则影响其他的作业没有及时关闭,以及长时间进程不退出导致kill -9进程。

兼容性的验证。

不兼容点:shutdown时,不同作业的回调方法(beforeForceStop,postForceStop),由之前的串行,变为并发执行,如果业务存在某些公用、线程不安全的代码,则会出现问题。

@heziai heziai added this to the 3.1.2 milestone Sep 7, 2018
@heziai heziai self-assigned this Sep 7, 2018
@heziai heziai added the done label Sep 10, 2018
kfchu added a commit that referenced this issue Sep 10, 2018
heziai added a commit that referenced this issue Sep 13, 2018
@kfchu kfchu closed this as completed Sep 29, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants