Is there a commit mechanism in actionfile?

(Srinivas Mangipudi) #1

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.

(Srinivas Mangipudi) #2

This was actually a problem with the filtering mechanism, which was not catching the index. Its solved by removing all the indices attached to the alias first and then attaching the correct index.

(system) #3

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.