# Are bulk index operations serialized?

**URL:** <https://discuss.elastic.co/t/are-bulk-index-operations-serialized/83770>\
**Category:** Elasticsearch\
**Created:** [April 26, 2017, 8:51pm UTC](https://discuss.elastic.co/t/are-bulk-index-operations-serialized/83770 "2017-04-26T20:51:51Z")\
**Posts on this page:** 1\
**Showing post:** 9

<div class="post-metadata">

**Author:** ![\_markus](https://avatars.discourse-cdn.com/v4/letter/_/ecb155/32.png) [@\_markus](https://discuss.elastic.co/u/_markus)\
**Post date:** [April 30, 2017, 6:21am UTC](https://discuss.elastic.co/t/are-bulk-index-operations-serialized/83770/9 "2017-04-30T06:21:43Z")

</div>

> [@\_markus](#):
>
> because to me, the time window I need to fetch the current version to send it with the \_bulk request seems race-condition prone to me too

> [@jasontedor](#):
>
> You can use optimistic concurrency control for this.

Can you give a small example how this could work in practice? I'm not sure I properly understand this enough to go about an implementation.

Using an external poses additional complexity so I would prefer one without.

thanks

---

_[View the full topic](https://discuss.elastic.co/t/are-bulk-index-operations-serialized/83770)._
