-
Notifications
You must be signed in to change notification settings - Fork 25.6k
Open
Labels
Description
Original comment by @droberts195:
The ML results index rollover endpoint will need to do the following:
- Take a
results_index_namefield as input (which can besharedfor the default shared index) - Check whether it's appropriate to roll that particular index - this can be done using the
dry_runargument of the standard rollover API - If it is then create the new empty index
- Adjust all the read aliases for jobs that have the chosen
results_index_nameto include the newly created index - Adjust all the write aliases for jobs that have the chosen
results_index_nameto point at the newly created index - All the alias updates can be done atomically in one request