# Updating mapping for CCR replica

**URL:** <https://discuss.elastic.co/t/updating-mapping-for-ccr-replica/269804>\
**Category:** Elasticsearch\
**Tags:** ccr-cross-cluster-replication\
**Created:** [April 11, 2021, 11:54am UTC](https://discuss.elastic.co/t/updating-mapping-for-ccr-replica/269804 "2021-04-11T11:54:54Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![oskars](https://avatars.discourse-cdn.com/v4/letter/o/ecb155/32.png) [@oskars](https://discuss.elastic.co/u/oskars)\
**Post date:** [April 11, 2021, 11:54am UTC](https://discuss.elastic.co/t/updating-mapping-for-ccr-replica/269804/1 "2021-04-11T11:54:54Z")

</div>

Hi !

We are looking to buy platinium license to use CCR functionality.  
We are stuck with old elastic version 6.8. (no way to upgrade).  
In our setup replication is needed for failover with hot indice (all data i sync to other cluster and it is ready to be used by app and users for read/write).  
Question im unable to find answer is what happens to mapping. In our use case we use elastic as search engine for mongo database. We have set mapping for some fields but most of them are auto mapped. Document structure in mongo can change often and when it happens elastic auto mapps new field (or update existing). So i need to find answer can CCR update mapping also on replicated indice ?

Thanks,  
//Oskars

---

<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:** [April 12, 2021, 12:54am UTC](https://discuss.elastic.co/t/updating-mapping-for-ccr-replica/269804/2 "2021-04-12T00:54:22Z")

</div>

Welcome to our community! 😃

From [the docs](https://www.elastic.co/guide/en/elasticsearch/reference/6.8/ccr-overview.html);

> Mapping updates applied to the leader index are automatically retrieved as-needed by the follower index.

---

<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:** [May 10, 2021, 12:55am UTC](https://discuss.elastic.co/t/updating-mapping-for-ccr-replica/269804/3 "2021-05-10T00:55:14Z")

</div>

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