org.elasticsearch.xpack.ilm.PolicyStepsRegistry Uses Not-Threadsafe Maps Concurently #78440
Labels
>bug
:Data Management/ILM+SLM
Index and Snapshot lifecycle management
Team:Data Management
Meta label for data/management team
Straight forward bug:
These 3 maps:
are all plain hash or tree maps and get updated on every cluster state update on the cluster state applier thread. but are accessed from at least the CS threads and the ILM scheduler threads concurrently.
We need to do something to synchronize them correctly or else at least the period execution will break in subtle ways here and there.
The text was updated successfully, but these errors were encountered: