elasticsearch/docs/reference/rollup/apis
Martijn van Groningen 95855043a3
Disallow new rollup jobs in clusters with no rollup usage. (#108624)
This change will add logic to the put rollup api that fails if no rollup job is active and no rollup index exists in the cluster.

The logic first check whether there is an active rollup persistent task if there are no active rollup persistent tasks, then it checks whether any rollup index exists. The latter check is an expensive check, but assuming that it only runs as part of the put rollup job api and only when there are no rollup jobs, this should be ok.

All tests that invoke the put rollup job api will need to be adjusted to create a dummy index that has rollup mapping metadata. Otherwise, tests can't create a rollup job.

Closes #108381
2024-05-21 09:38:10 +02:00
..
delete-job.asciidoc [DOCS] Deprecate rollups (#101265) 2023-10-25 16:52:25 -04:00
get-job.asciidoc [DOCS] Deprecate rollups (#101265) 2023-10-25 16:52:25 -04:00
put-job.asciidoc Disallow new rollup jobs in clusters with no rollup usage. (#108624) 2024-05-21 09:38:10 +02:00
rollup-caps.asciidoc [DOCS] Deprecate rollups (#101265) 2023-10-25 16:52:25 -04:00
rollup-index-caps.asciidoc [DOCS] Deprecate rollups (#101265) 2023-10-25 16:52:25 -04:00
rollup-search.asciidoc [DOCS] Deprecate rollups (#101265) 2023-10-25 16:52:25 -04:00
start-job.asciidoc [DOCS] Deprecate rollups (#101265) 2023-10-25 16:52:25 -04:00
stop-job.asciidoc [DOCS] Deprecate rollups (#101265) 2023-10-25 16:52:25 -04:00