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

定时任务调度后是缓存在节点内存吗? #195

Open
yewenhai99999 opened this issue Jul 16, 2021 · 0 comments
Open

定时任务调度后是缓存在节点内存吗? #195

yewenhai99999 opened this issue Jul 16, 2021 · 0 comments

Comments

@yewenhai99999
Copy link

Please answer these questions before submitting your issue. Thanks!
在你提交 issue 前,请先回答以下问题,谢谢!

  1. What version of Go and cronsun version are you using?
    你用的是哪个版本的 Go 和 哪个版本的 cronsun?
    二进制安装,v0.3.5

  2. What operating system and processor architecture are you using (go env)?
    你用的是哪个操作系统,什么架构的?
    CentOS 7.9 ,因特尔

  3. What did you do?
    If possible, provide a recipe for reproducing the error.
    A complete runnable program is good.
    你做了什么,遇到了什么问题?尽可能描述清楚问题,最好把操作步骤写下来,按这些步骤操作后能重现你的问题。

  4. What did you expect to see?
    你期望得到什么样的结果?

  5. What did you see instead?
    现在你得到的结果是什么样的?

想问下,任务调度到节点后,对应任务是缓存在内存里吗?

如下测试情况,与Wiki所说的可靠性不符,希望得到答复。

1、组级别普通任务:
执行节点有3个或者1个
!当etcd宕机,组级别普通任务不会执行。。。

2、单机单进程任务:只有一个进程,即使到了下一个调度时间也需要等到当前进程执行完才可调度
执行节点有3个或者1个
!当etcd宕机,任务不执行
!当mongodb宕机,每分钟执行的任务会隔一分钟执行一次

3、普通任务:
执行节点3个
当etcd宕机,任务执行

@yewenhai99999 yewenhai99999 changed the title 我有一个新的问题 任何是缓存在节点内存吗? Jul 16, 2021
@yewenhai99999 yewenhai99999 changed the title 任何是缓存在节点内存吗? 定时任务调度后是缓存在节点内存吗? Jul 16, 2021
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

1 participant