Comments (3)
查一下日志,看是否确实执行了两次。
任务在分派的过程中,做了全局锁避免重复发放。
但是,如果任务分派下去以后,等了很久没有收到任何进度更新,调度中心会任务该任务已经失败,重新分派给其它客户端实例。
最近会更新一个版本,结合星尘监控,快速定位问题。
from antjob.
从耗时数据来看,应该是第一次执行超过了10分钟,中途没有反馈进度,调度中心以为任务已经失败,重新分配。
可以在作业里面修改任务最大执行时间,加大一点。
from antjob.
并不是执行时间过长的问题,有些执行时间极短的也会有这种情况发生
from antjob.
Related Issues (12)
- 能用在正式环境没? HOT 5
- 客户端若待机后会出现堆栈溢出的错误 HOT 3
- 分布式标记大数据 HOT 2
- 来点图呗 HOT 1
- handler 的构造函数是否可以支持构造函数注入 HOT 10
- Unable to resolve service for type 'NewLife.Log.ITracer' while attempting to activate 'NewLife.Cube.Services.JobService'. HOT 4
- antjob 时区 不敏感 HOT 1
- 消息调度不能跨应用发消息? HOT 1
- AntAgent改造为从本地加载sql文件
- 新增项目AntCube
- 后台配置了sql,或内容,但 ctx.Data,和 ctx.Remark 没拿到东西 HOT 2
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 antjob.