Skip to content

多调度器部署存在多次执行风险 #98

Description

@hulu20

经过多次测试

  1. 如果每个调度器的时间不一致,会存在多次执行的风险
  2. 如果脚本执行的时间过短,如10ms内执行完成,也会存在多次执行风险

一个想法
crocodile_host 表添加一个调度器ip的字段,任务运行根据匹配调度器ip来决定是否运行任务(需取消redis 锁控制),调度器ip字段由客户端注册来维护

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions