# Elasticsearch indexing while rollover

**URL:** https://discuss.elastic.co/t/elasticsearch-indexing-while-rollover/112158
**Category:** Elasticsearch
**Created:** [December 18, 2017, 6:14am UTC](https://discuss.elastic.co/t/elasticsearch-indexing-while-rollover/112158 "2017-12-18T06:14:55Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)
#### Post date: [December 18, 2017, 7:39am UTC](https://discuss.elastic.co/t/elasticsearch-indexing-while-rollover/112158/2 "2017-12-18T07:39:01Z")

</div>

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.

---

_[View the full topic](https://discuss.elastic.co/t/elasticsearch-indexing-while-rollover/112158)._
