-
Notifications
You must be signed in to change notification settings - Fork 451
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
node节点watch机制失效,任务暂停依然执行 #121
Comments
用的etcd是哪个版本呢? |
etcdctl version: 3.3.10 |
不知道watchRequest中的这个字段是否有帮助,etcd我这边刚开始玩耍,还不熟,我看cronsun的watch Request 的opts里没有设置这个。 |
谢谢。 |
正常节点2018-11-26T14:25:50.566+0800 INFO node/server.go:62 cronsun node[2a3a7b4e-a729-4edb-8fe1-9ac00bb53c9e] pid[21660] service started, Ctrl+C or send kill sign to exit 异常节点2018-11-26T15:27:39.324+0800 INFO node/server.go:62 cronsun node[06a3dfbf-ecd8-44d4-bc1f-3706ddeedf3d] pid[15412] service started, Ctrl+C or send kill sign to exit 可以看到异常节点上所有任务的变更都没有收到 |
用这个命令看看etcd集群是否正常?
这个在正常节点相同时间点并没有看到对应的日志 |
两个节点的日志差异是这两个节点启动有先后顺序,正常节点14:25就启动,然后进行了任务创建修改,异常节点 15:27才启动,这时候只是进行了任务同步,任务是选了这两个节点组成的一个group进行执行的,设置的是单机单进程 |
|
+--------------------+------------------+---------+---------+-----------+-----------+------------+ |
QQ交流群: 123731057 你加下Q群? |
Please answer these questions before submitting your issue. Thanks!
在你提交 issue 前,请先回答以下问题,谢谢!
What version of Go and cronsun version are you using?
你用的是哪个版本的 Go 和 哪个版本的 cronsun?
go 1.11
cronsun v0.3.4
What operating system and processor architecture are you using (
go env
)?你用的是哪个操作系统,什么架构的?
Centos 6.5 amd64
What did you do?
If possible, provide a recipe for reproducing the error.
A complete runnable program is good.
你做了什么,遇到了什么问题?尽可能描述清楚问题,最好把操作步骤写下来,按这些步骤操作后能重现你的问题。
某些node节点watch机制失效,无法同步任务修改事件
你期望得到什么样的结果?
任务暂停,修改,删除,节点能正常同步任务状态
现在你得到的结果是什么样的?
目前出现两次 node watch中断的问题,导致暂停和删除的任务正常在该节点调度
The text was updated successfully, but these errors were encountered: