In the old times I have written and used my own plugin 'rollindex' to handle the 'rolling' of e.g. log data. Then I've seen curator and thought that this is a good replacement as it can add and remove aliases. But how can I move aliases atomically?
According to the docs I don't think that this is possible. The docs suggest a pattern where I add two indices to one alias and then remove the older index from the alias. But this means for a small time that all writes will fail due to an ElasticSearch limitation. My rollindex plugin has an atomic move (adding+removing at the same time) where this won't happen.
How would I do this with the curator?