# When request is forwared to replica in write?

**URL:** https://discuss.elastic.co/t/when-request-is-forwared-to-replica-in-write/380645
**Category:** Elasticsearch
**Created:** [August 1, 2025, 1:37am UTC](https://discuss.elastic.co/t/when-request-is-forwared-to-replica-in-write/380645 "2025-08-01T01:37:20Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![maulik\_trapasiya](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/maulik_trapasiya/32/121816_2.png) [@maulik\_trapasiya](https://discuss.elastic.co/u/maulik_trapasiya)
#### Post date: [August 1, 2025, 1:37am UTC](https://discuss.elastic.co/t/when-request-is-forwared-to-replica-in-write/380645/1 "2025-08-01T01:37:20Z")

</div>

I need to know operation sequence in below 2 cases

1. if index.translog.durability=request then what would be sequence of operations? (option1 - data written to RAM for primary -\> request forwarded to replica -\> data persisted in translog or option2 - data written to RAM for primary -\> data persisted in translog -\> request forwarded to replica or option3 - data written to translog in primary -\> request forwarded to replica (no write in memory))
2. if index.translog.durability=async then what would be sequence of operations? (option1 - data written to RAM for primary -\> request forwarded to replica or option2 - data written to RAM for primary -\> data persisted in disk (after sync\_interval) ---\> request forwarded to replica)
3. please also mention case if index.translog.durability=flush\_threshold\_size

---

<div class="post-metadata">

### Author: ![DavidTurner](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/davidturner/32/22453_2.png) [@DavidTurner](https://discuss.elastic.co/u/DavidTurner)
#### Post date: [August 1, 2025, 7:44am UTC](https://discuss.elastic.co/t/when-request-is-forwared-to-replica-in-write/380645/2 "2025-08-01T07:44:11Z")

</div>

> [@maulik\_trapasiya](#):
>
> if index.translog.durability=request then what would be sequence of operations?

I'm not sure you can observe the difference between any of the options you suggest. If the write is acked back to the client then it's written durably to the translog on all in-sync shard copies and will become visible on the next refresh. If it's not acked then the write may or may not take place at some future time.

> [@maulik\_trapasiya](#):
>
> if index.translog.durability=async then what would be sequence of operations?

The request is forwarded to the replica straight away.

> [@maulik\_trapasiya](#):
>
> please also mention case if index.translog.durability=flush\_threshold\_size

That isn't a valid value for `index.translog.durability`.
