Hi all. I have a service requires zero down time. Since the data need to be versionized, our pipeline will ingest data every day into a new index. After the new index is "green" and able to search, we simply swap the alias with old one. But after the swapping, there is a 20 seconds period that Elasticsearch hang up for the queries. It leads to a 10-25 seconds latency. Any idea how we can avoid that?
For the swapping operation, we tried add the index to that alias and delete old one. But we also tried use the creation and deletion in the same query for atomic operation. Both doesn't work.