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

调度策略+阻塞处理策略 叠加问题 #3581

Open
numbernumberone opened this issue Dec 3, 2024 · 2 comments
Open

调度策略+阻塞处理策略 叠加问题 #3581

numbernumberone opened this issue Dec 3, 2024 · 2 comments

Comments

@numbernumberone
Copy link

Please answer some questions before submitting your issue. Thanks!

Which version of XXL-JOB do you using?

2.4.1

Expected behavior

调度策略为轮训 能够实现 丢弃后续调度

Actual behavior

调度策略为轮训 能够实现 丢弃后续调度 的策略实效

Steps to reproduce the behavior

多个worker 节点,执行同一个任务,配置的调度策略为 - 轮训。阻塞处理策略 为 丢弃后续调度
发现多个节点之间没有办法实现 丢弃后续调度的功能

Other information

疑问是这个配置就是不生效还是使用的方式不对谢谢。

@cdknowz
Copy link

cdknowz commented Dec 5, 2024

最近看了2.4.2版本的实现,估计差不多。
因为轮询会每次选择下一个执行器执行任务,而阻塞处理策略只针对于同一执行器才有效。
执行器之间并不会同步任务执行情况。

@numbernumberone
Copy link
Author

感谢,后面不知道会不会修这个问题?

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

2 participants