alerting icon indicating copy to clipboard operation
alerting copied to clipboard

[BUG] Sweeper period setting has no effect

Open spapadop opened this issue 2 years ago • 0 comments

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:

  1. Set plugins.scheduled_jobs.sweeper.period to 60m on opensearch.yml
  2. Restart the cluster nodes
  3. 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

spapadop avatar Nov 28 '23 10:11 spapadop