mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-07 21:48:39 +00:00
This PR introduces a service component that is scheduled to run once per day, around 30 minutes past midnight, local time. Listeners can be subscribed to the service in order to get notified when the next service trigger occurs so that they can execute management tasks. Currently, there are 2 such listeners: one is performing removal of results and the other of model snapshots that have expired their retention period. Finally, note that the service is only installed on the master node to ensure there is only one running on the cluster. Original commit: elastic/x-pack-elasticsearch@c8edb6016a