Logn script compilation can bring cluster down #52058
Labels
:Core/Infra/Scripting
Scripting abstractions, Painless, and Mustache
Team:Core/Infra
Meta label for core/infra team
v7.3.2
v8.0.0-alpha1
If you try to use scripted field during search or add scripted field in Kibana index pattern with script that is very hard to compile it can leave long running tasks and finally overcome cluster.
This was confirmed on
7.3
andmaster
, on cloud and local, using script like below:This script takes 1h+ to compile and when search using it targets multiple indices there will be a lot of stuck tasks which will make cluster unusable
The text was updated successfully, but these errors were encountered: