-
Notifications
You must be signed in to change notification settings - Fork 25.8k
Randomize Rollup Index name when one is not provided to Rollup Action #68225
Description
scenario
Currently, there is a scenario in ILM where a rollup action can fail (on node failure) and restart. Upon restart it will find that the temporary index exists and fail again. This requires human intervention to come and delete that temporary index. To avoid this scenario, it would be ideal if ILM assigns a random index name to the rollup index under a datastream.
right now, .ds-my-data-stream-2021.01.29-000001 would be rollup-.ds-my-data-stream-2021.01.29-000001
solution
To remedy this failure scenario, it can be that the transport-rollup-action can randomly assign a new rollup index name to the rollup when one is not provided. This will enable the ILM Rollup action to not provide a target rollup index and a random one will be created and assigned to the datastream if one is associated with that index.
relates #65633.