Comments (2)
之前也遇到且解决过这个问题,xxl-job手动通过api下线执行器会有bug
原因:只删了xxl_job_registry的执行器心跳注册数据,没删xxl_job_group执行器列表,任务执行时是去xxl_job_group去拿ip。源码里freshGroupRegistryInfo方法是未实现,上线延迟问题不大,但是下线延迟有可能导致任务调度到下线30秒内的执行器。
处理方法:可以自己来更新group表,精简复制一下JobRegistryMonitorHelper里的代码到freshGroupRegistryInfo
from xxl-job.
JobRegistryMonitorHelper 这个类在最新版本里代码被注释掉了。
from xxl-job.
Related Issues (20)
- xxljob服务端重启后,定时任务配置还在,任务显示启动着,但是不执行
- xxljob服务端重启后,定时任务配置还在,任务显示启动着,但是不执行 HOT 1
- xxl-job整合到个人项目,在自己项目内进行crud,一直报JSON的问题以及回调/注册/等api接口失败问题 HOT 2
- GLUE(PowerShell)模式调度的脚本未变化
- 客户端启动异常 HOT 2
- springcloud+nacos+openfeign项目集成xxl-job后,历史废弃接口不写请求方式不行了。 HOT 3
- how to support native-image
- 异常问题
- Cron 表达式预期运行时间解析问题
- 2.3.0 执行器地址为空 HOT 1
- 如何触发子任务?
- 找不到执行脚本,报错java.io.FileNotFoundException
- 求问,“立即执行一次”的restful api如何调用 HOT 2
- K8S集群中,因为pod变化导致任务不能打到同一个执行器实例上,进而导致“丢弃后续调度”策略失效 HOT 1
- commandJobHandler无法执行带参数的命令
- 日志量过大问题 HOT 1
- bug:复制shell类型任务时 shell脚本内容无法带过去
- glue java job在springboot3里无法执行
- xxl-job-log表发生了数据库(sqlserver)死锁
- XxlJobTrigger中trigger方法对路由策略判定宽泛,导致执行器掉线后,路由策略不生效。 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from xxl-job.