# Elasticsearch crashed during reindex, can I continue?

**URL:** <https://discuss.elastic.co/t/elasticsearch-crashed-during-reindex-can-i-continue/170962>\
**Category:** Elasticsearch\
**Created:** [March 5, 2019, 5:35pm UTC](https://discuss.elastic.co/t/elasticsearch-crashed-during-reindex-can-i-continue/170962 "2019-03-05T17:35:46Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![brianecole](https://avatars.discourse-cdn.com/v4/letter/b/b782af/32.png) [@brianecole](https://discuss.elastic.co/u/brianecole)\
**Post date:** [March 5, 2019, 5:35pm UTC](https://discuss.elastic.co/t/elasticsearch-crashed-during-reindex-can-i-continue/170962/1 "2019-03-05T17:35:46Z")

</div>

I was upgrading from ES 2.x to 5.x, and then using the X-Pack Upgrade Assistant/Reindex helper to upgrade the indices as required. Unfortunately I hit a Java heap space problem and the elasticsearch process crashed after it had been running for more than 2 days.

I now have my original indices still intact, AND a partial reindexed version of one of them -- it was about 85% completed. Is there any way to get it to continue where it left off ? Or is my only option to delete the "reindexed" incomplete index and start it all over again ? I tried to start the reindex helper again and of course it complains that the index it wants to create already exists, but I can see from the size that it is not a complete index.

Thanks. ...brian

---

<div class="post-metadata">

**Author:** ![brianecole](https://avatars.discourse-cdn.com/v4/letter/b/b782af/32.png) [@brianecole](https://discuss.elastic.co/u/brianecole)\
**Post date:** [March 6, 2019, 5:00pm UTC](https://discuss.elastic.co/t/elasticsearch-crashed-during-reindex-can-i-continue/170962/2 "2019-03-06T17:00:50Z")

</div>

I think I can finally answer my own question. I found a similar issue reported here and the only solution was to delete the partial/failed index and start reindexing again.

> [@Resume reindex process](https://discuss.elastic.co/t/resume-reindex-process/119563):
>
> Hi, We are reindexing a 500gb data, but we dont know how to resume the reindexing once there has been an interruption, can you help us? right now, we are doing this: curl -X POST -H "Content-Type: application/json" --data '{"conflicts": "proceed","source": {"index": "source\_index"},"dest": {"index": "destination\_index","op\_type": "create"}}' '[http://xxx.com/\_reindex?wait\_for\_completion=false&refresh=true](http://xxx.com/_reindex?wait_for_completion=false&refresh=true)' Thanks

So I will start again...

---

<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:** [April 3, 2019, 5:00pm UTC](https://discuss.elastic.co/t/elasticsearch-crashed-during-reindex-can-i-continue/170962/3 "2019-04-03T17:00:57Z")

</div>

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