Elasticsearch indexing while rollover

Remember that you are sending your index operation to an alias.

What happens when you rollover:

  • It creates a new index (You are still indexing to the old index through the alias)
  • It switches the alias. This switch is super fast. If you have a pending operation it might go to the old index.

Once done, the new requests will go to the new index.

There is no lock.

1 Like