mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-03-24 17:09:48 +00:00
This change adds the AlertActionManager and AlertActionEntry. The old AlertActionManager has become the AlertActionRegistry. This means that now the results of Alerts are queued up in a job queue and executed in separate threads. The AlertActionManager is a composite member of the AlertManager. Change the BasicTest to just run on a single node to fix the action registration if the action happens on a different node. Threads are not directly constructed but now the threadpool is used. The ClusterStateListener in AlertManager is responsible now for starting the job queue. Original commit: elastic/x-pack-elasticsearch@a73c6b60f8