SaltStack计划丢失数据

问题描述 投票:0回答:1

我的日程表看起来像

get ithrottle stats: schedule.present: - function: state.apply - job_args: - get_ithrottle - seconds: 300 - returner: influxdb

但我发现有时数据会丢失。将添加splay将有所帮助。什么是splay的主要目的?

scheduler salt-stack
1个回答
0
投票

张开:

splay The amount of time in seconds to splay a scheduled job. Can be specified as a single value in seconds or as a dictionary range with 'start' and 'end' values.

是一个随机的启动延迟,但我不知道为什么你会丢失数据,所以我不能说splay是否会帮助你。

当你有很多小兵并且你不希望他们在同一时间运行某些东西时可能会使用Splay,这可能会使主装载量变高。

我建议你查看日志,看看事件丢失的原因。

© www.soinside.com 2019 - 2024. All rights reserved.