# What happens when calling reindex in the context of reindex from remote

**URL:** <https://discuss.elastic.co/t/what-happens-when-calling-reindex-in-the-context-of-reindex-from-remote/232528>\
**Category:** Elasticsearch\
**Created:** [May 14, 2020, 1:37am UTC](https://discuss.elastic.co/t/what-happens-when-calling-reindex-in-the-context-of-reindex-from-remote/232528 "2020-05-14T01:37:22Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![vfiset](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/vfiset/32/40138_2.png) [@vfiset](https://discuss.elastic.co/u/vfiset)\
**Post date:** [May 14, 2020, 1:37am UTC](https://discuss.elastic.co/t/what-happens-when-calling-reindex-in-the-context-of-reindex-from-remote/232528/1 "2020-05-14T01:37:22Z")

</div>

In the context of [reindex from remote](https://www.elastic.co/guide/en/elasticsearch/reference/6.8/docs-reindex.html#reindex-from-remote) I don’t quite get what exactly happens when the call to `_reindex?` is made.

Does it simply replicate the document from the source cluster to destination cluster or shards/replicas from the index are distributed to both clusters from now on?

---

<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:** [May 14, 2020, 1:45am UTC](https://discuss.elastic.co/t/what-happens-when-calling-reindex-in-the-context-of-reindex-from-remote/232528/2 "2020-05-14T01:45:36Z")

</div>

It's the same thing as a local reindex, it just makes the calls to the API from a remote system.

It is a way to replicate an point-in-time snapshot of the data to another cluster, it is not a way to maintain an in-sync distribution across both clusters. That is what CCR is for.

---

<div class="post-metadata">

**Author:** ![vfiset](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/vfiset/32/40138_2.png) [@vfiset](https://discuss.elastic.co/u/vfiset)\
**Post date:** [May 14, 2020, 1:51am UTC](https://discuss.elastic.co/t/what-happens-when-calling-reindex-in-the-context-of-reindex-from-remote/232528/3 "2020-05-14T01:51:28Z")

</div>

Ok right, so it only does a point in time copy of the documents from the remote index to the local index. And that's it, afterwards, the remote cluster does not do anything else. It's like it never happen ?

Thanks for you fast response!

---

<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:** [May 14, 2020, 1:52am UTC](https://discuss.elastic.co/t/what-happens-when-calling-reindex-in-the-context-of-reindex-from-remote/232528/4 "2020-05-14T01:52:03Z")

</div>

Once the reindex is complete, the process is considered finished and there won't be any further documents pulled by the remote cluster for indexing.

---

<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:** [June 11, 2020, 1:52am UTC](https://discuss.elastic.co/t/what-happens-when-calling-reindex-in-the-context-of-reindex-from-remote/232528/5 "2020-06-11T01:52:08Z")

</div>

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