I have an action file with 3 actions:
- create this weeks index
- attach this newly created index to the existing alias, and remove older attachments
- delete old indices.
the problem I am facing is that the the attach alias step does not find the newly created index when run sequentially. But when I run them in separate files everything works well.
So I am wondering if there is a commit transaction type of issue here? And plus is this the correct way to write the actions, or they are better written in separate files.