alerting
alerting copied to clipboard
[BUG] Sweeper period setting has no effect
What is the bug?
Setting plugins.scheduled_jobs.sweeper.period to a different value than the default, for example 60m does not have any effect, as the sweeper keeps on running every 5 minutes, which is the default value.
How can one reproduce the bug? Steps to reproduce the behavior:
- Set
plugins.scheduled_jobs.sweeper.periodto60mon opensearch.yml - Restart the cluster nodes
- Observe that these logs will keep on appearing every 5 minutes
[INFO ][o.o.j.s.JobSweeper ] [node] Running full sweep
What is the expected behavior?
If plugins.scheduled_jobs.sweeper.period is set, the cluster should respect it and run sweeper accordingly.
What is your host/environment?
- OpenSearch v2.11.0 with all default plugins