You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by "lichaobao (via GitHub)" <gi...@apache.org> on 2024/02/21 02:49:02 UTC

[I] 任务正常跑一段时间,突然某个任务不再执行,版本2.1.5 [shardingsphere-elasticjob]

lichaobao opened a new issue, #2387:
URL: https://github.com/apache/shardingsphere-elasticjob/issues/2387

   版本2.1.5,
   任务正常跑一段时间,
   突然某个任务不再执行,
   单节点,
   管理平台查看任务状态显示正常,
   管理平台手动点击任务触发并未执行


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] 任务正常跑一段时间,突然某个任务不再执行,版本2.1.5 [shardingsphere-elasticjob]

Posted by "bbcdabao (via GitHub)" <gi...@apache.org>.
bbcdabao commented on issue #2387:
URL: https://github.com/apache/shardingsphere-elasticjob/issues/2387#issuecomment-1966312666

   先打开 监控作业执行配置 monitorExecution=true, 然后就可以看到业务是否阻塞,默认配置作业如何一直没有跑完是不会执行下一次的


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] 任务正常跑一段时间,突然某个任务不再执行,版本2.1.5 [shardingsphere-elasticjob]

Posted by "wjdxw (via GitHub)" <gi...@apache.org>.
wjdxw commented on issue #2387:
URL: https://github.com/apache/shardingsphere-elasticjob/issues/2387#issuecomment-2244124442

   > 我也是这个版本,没有任何代码和配置上的变动,个别任务突然不执行了,然后过了一天左右又自动恢复了,期间排查过zk, zk有一台机器漂移,漂移时间和服务节点拉取不到分片任务的时间完全吻合,推测可能是zk有问题:1)可能选主失败,2)选主成功后,主节点划分作业分片然后写zk失败,导致服务节点拉取不到zk作业分片;最后排查下来zk选主没问题,但是主节点划分作业写到zk是否成功无法查看,因为定时任务每次调度都会写入,而且问题不好稳定复现。这个大佬们有碰到过或者其他排查思路吗?
   
   看下job有没有执行完,没执行完看堆栈哪里卡住了,执行完看堆栈,找到OperableTrigger 这个对象,里面有个triggerState ,如果是PAUSED 或者BLOCKED ,job都不会执行的,控制台看上去是正常的


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] 任务正常跑一段时间,突然某个任务不再执行,版本2.1.5 [shardingsphere-elasticjob]

Posted by "linghengqian (via GitHub)" <gi...@apache.org>.
linghengqian commented on issue #2387:
URL: https://github.com/apache/shardingsphere-elasticjob/issues/2387#issuecomment-2268038725

   > 版本2.1.5, 任务正常跑一段时间, 突然某个任务不再执行, 单节点, 管理平台查看任务状态显示正常, 管理平台手动点击任务触发并未执行
   
   You need to use elasticjob 3.0.4 for testing and provide git with minimal reproducible unit tests.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] 任务正常跑一段时间,突然某个任务不再执行,版本2.1.5 [shardingsphere-elasticjob]

Posted by "Nfq226 (via GitHub)" <gi...@apache.org>.
Nfq226 commented on issue #2387:
URL: https://github.com/apache/shardingsphere-elasticjob/issues/2387#issuecomment-2236671094

   我也是这个版本,没有任何代码和配置上的变动,个别任务突然不执行了,然后过了一天左右又自动恢复了,期间排查过zk, zk有一台机器漂移,漂移时间和服务节点拉取不到分片任务的时间完全吻合,推测可能是zk有问题:1)可能选主失败,2)选主成功后,主节点划分作业分片然后写zk失败,导致服务节点拉取不到zk作业分片;最后排查下来zk选主没问题,但是主节点划分作业写到zk是否成功无法查看,因为定时任务每次调度都会写入,而且问题不好稳定复现。这个大佬们有碰到过或者其他排查思路吗?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] 任务正常跑一段时间,突然某个任务不再执行,版本2.1.5 [shardingsphere-elasticjob]

Posted by "linghengqian (via GitHub)" <gi...@apache.org>.
linghengqian closed issue #2387: 任务正常跑一段时间,突然某个任务不再执行,版本2.1.5
URL: https://github.com/apache/shardingsphere-elasticjob/issues/2387


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] 任务正常跑一段时间,突然某个任务不再执行,版本2.1.5 [shardingsphere-elasticjob]

Posted by "linghengqian (via GitHub)" <gi...@apache.org>.
linghengqian commented on issue #2387:
URL: https://github.com/apache/shardingsphere-elasticjob/issues/2387#issuecomment-2297771275

   Closed because it could not be reproduced.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org