# Translog delete operation,lost routing info

**URL:** <https://discuss.elastic.co/t/translog-delete-operation-lost-routing-info/154554>\
**Category:** Elasticsearch\
**Created:** [October 30, 2018, 4:28am UTC](https://discuss.elastic.co/t/translog-delete-operation-lost-routing-info/154554 "2018-10-30T04:28:49Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![sshling](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sshling/32/24052_2.png) [@sshling](https://discuss.elastic.co/u/sshling)\
**Post date:** [October 30, 2018, 4:28am UTC](https://discuss.elastic.co/t/translog-delete-operation-lost-routing-info/154554/1 "2018-10-30T04:28:49Z")

</div>

ES version: 6.3.2

`org.elasticsearch.index.translog.Translog.Delete`

likely, lost a field, named `routing`。

When there is a delete operation with `routing`, the routing information is not recorded in the translog, and the corresponding document may not be found when replaying the translog. so, failed to delete.

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [October 30, 2018, 5:59am UTC](https://discuss.elastic.co/t/translog-delete-operation-lost-routing-info/154554/2 "2018-10-30T05:59:45Z")

</div>

Please share the complete error from the log.

---

<div class="post-metadata">

**Author:** ![sshling](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sshling/32/24052_2.png) [@sshling](https://discuss.elastic.co/u/sshling)\
**Post date:** [October 30, 2018, 7:46am UTC](https://discuss.elastic.co/t/translog-delete-operation-lost-routing-info/154554/3 "2018-10-30T07:46:20Z")

</div>

no error info , base on translog , want to read translog, write to another ES clusters .

So, when there is a delete operation with `routing` , the routing information is not recorded in the translog, and the corresponding document may not be found when replaying the translog. so, failed to delete.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [November 27, 2018, 7:46am UTC](https://discuss.elastic.co/t/translog-delete-operation-lost-routing-info/154554/4 "2018-11-27T07:46:23Z")

</div>

Closed on November 27, 2018, 7:46am UTC

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
