# ES seems to be stuck in resyncing mappings

**URL:** <https://discuss.elastic.co/t/es-seems-to-be-stuck-in-resyncing-mappings/5192>\
**Category:** Elasticsearch\
**Created:** [August 18, 2011, 2:33pm UTC](https://discuss.elastic.co/t/es-seems-to-be-stuck-in-resyncing-mappings/5192 "2011-08-18T14:33:55Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![lukeforehand\_2](https://avatars.discourse-cdn.com/v4/letter/l/cdc98d/32.png) [@lukeforehand\_2](https://discuss.elastic.co/u/lukeforehand_2)\
**Post date:** [August 18, 2011, 2:33pm UTC](https://discuss.elastic.co/t/es-seems-to-be-stuck-in-resyncing-mappings/5192/1 "2011-08-18T14:33:55Z")

</div>

I am revisiting this archived thread:  
[http://groups.google.com/a/elasticsearch.com/group/users/browse\_thread/thread/fe64dd72d233b1f7/30d8df648ae32beb?lnk=gst&q=ES+seems+to+be+stuck+in+resyncing+mappings#30d8df648ae32beb](http://groups.google.com/a/elasticsearch.com/group/users/browse_thread/thread/fe64dd72d233b1f7/30d8df648ae32beb?lnk=gst&q=ES+seems+to+be+stuck+in+resyncing+mappings#30d8df648ae32beb)

I have gisted my log here:

> <https://gist.github.com/lukeforehand/1152872>

We are also experiencing this problem with version 0.17.6

Does anyone have any insight as to how this can happen?

-Luke

---

<div class="post-metadata">

**Author:** ![kimchy](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kimchy/32/44952_2.png) [@kimchy](https://discuss.elastic.co/u/kimchy)\
**Post date:** [August 18, 2011, 4:24pm UTC](https://discuss.elastic.co/t/es-seems-to-be-stuck-in-resyncing-mappings/5192/2 "2011-08-18T16:24:12Z")

</div>

Is it something you can easily recreate? Can you post your mappings  
definition for "default"?

On Thu, Aug 18, 2011 at 5:33 PM, lukeforehand [lukeforehand@gmail.com](mailto:lukeforehand@gmail.com)wrote:

> I am revisiting this archived thread:
> 
> [http://groups.google.com/a/elasticsearch.com/group/users/browse\_thread/thread/fe64dd72d233b1f7/30d8df648ae32beb?lnk=gst&q=ES+seems+to+be+stuck+in+resyncing+mappings#30d8df648ae32beb](http://groups.google.com/a/elasticsearch.com/group/users/browse_thread/thread/fe64dd72d233b1f7/30d8df648ae32beb?lnk=gst&q=ES+seems+to+be+stuck+in+resyncing+mappings#30d8df648ae32beb)
> 
> I have gisted my log here:  
> [gist:1152872 · GitHub](https://gist.github.com/1152872)
> 
> We are also experiencing this problem with version 0.17.6
> 
> Does anyone have any insight as to how this can happen?
> 
> -Luke

---

<div class="post-metadata">

**Author:** ![lukeforehand\_2](https://avatars.discourse-cdn.com/v4/letter/l/cdc98d/32.png) [@lukeforehand\_2](https://discuss.elastic.co/u/lukeforehand_2)\
**Post date:** [August 18, 2011, 4:43pm UTC](https://discuss.elastic.co/t/es-seems-to-be-stuck-in-resyncing-mappings/5192/3 "2011-08-18T16:43:08Z")

</div>

It is easy to re-create, we don't run into this problem when indexing  
to a single index. This seems to happen if several indices are being  
created in a burst.

Here is the default mapping def:

> <https://gist.github.com/lukeforehand/1154470>

-Luke

On Aug 18, 11:24 am, Shay Banon [kim...@gmail.com](mailto:kim...@gmail.com) wrote:

> Is it something you can easily recreate? Can you post your mappings  
> definition for "default"?
> 
> On Thu, Aug 18, 2011 at 5:33 PM, lukeforehand [lukeforeh...@gmail.com](mailto:lukeforeh...@gmail.com)wrote:
> 
> > I am revisiting this archived thread:
> 
> > [http://groups.google.com/a/elasticsearch.com/group/users/browse\_threa](http://groups.google.com/a/elasticsearch.com/group/users/browse_threa)...
> 
> > I have gisted my log here:  
> > [gist:1152872 · GitHub](https://gist.github.com/1152872)
> 
> > We are also experiencing this problem with version 0.17.6
> 
> > Does anyone have any insight as to how this can happen?
> 
> > -Luke

---

<div class="post-metadata">

**Author:** ![kimchy](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kimchy/32/44952_2.png) [@kimchy](https://discuss.elastic.co/u/kimchy)\
**Post date:** [August 18, 2011, 4:56pm UTC](https://discuss.elastic.co/t/es-seems-to-be-stuck-in-resyncing-mappings/5192/4 "2011-08-18T16:56:53Z")

</div>

Can you post a sample curl indexing that recreates it? I assume that just  
starting two nodes, with the below configuration and indexing a doc causes  
that?

On Thu, Aug 18, 2011 at 7:43 PM, lukeforehand [lukeforehand@gmail.com](mailto:lukeforehand@gmail.com)wrote:

> It is easy to re-create, we don't run into this problem when indexing  
> to a single index. This seems to happen if several indices are being  
> created in a burst.
> 
> Here is the default mapping def:
> 
> [gist:1154470 · GitHub](http://gist.github.com/1154470)
> 
> -Luke
> 
> On Aug 18, 11:24 am, Shay Banon [kim...@gmail.com](mailto:kim...@gmail.com) wrote:
> 
> > Is it something you can easily recreate? Can you post your mappings  
> > definition for "default"?
> > 
> > On Thu, Aug 18, 2011 at 5:33 PM, lukeforehand \<[lukeforeh...@gmail.com](mailto:lukeforeh...@gmail.com)  
> > wrote:
> > 
> > > I am revisiting this archived thread:
> > 
> > > [http://groups.google.com/a/elasticsearch.com/group/users/browse\_threa](http://groups.google.com/a/elasticsearch.com/group/users/browse_threa).  
> > > ..
> > 
> > > I have gisted my log here:  
> > > [gist:1152872 · GitHub](https://gist.github.com/1152872)
> > 
> > > We are also experiencing this problem with version 0.17.6
> > 
> > > Does anyone have any insight as to how this can happen?
> > 
> > > -Luke

---

<div class="post-metadata">

**Author:** ![kimchy](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kimchy/32/44952_2.png) [@kimchy](https://discuss.elastic.co/u/kimchy)\
**Post date:** [August 18, 2011, 6:15pm UTC](https://discuss.elastic.co/t/es-seems-to-be-stuck-in-resyncing-mappings/5192/5 "2011-08-18T18:15:26Z")

</div>

I did not manage to recreate it, but I think I found where it might happen.  
Pushed a fix: [dynamic templates might cause elasticsearch to keep resync mappings · Issue #1257 · elastic/elasticsearch · GitHub](https://github.com/elasticsearch/elasticsearch/issues/1257)(its  
on 0.17 branch as well). Can you check it if helps?

On Thu, Aug 18, 2011 at 7:56 PM, Shay Banon [kimchy@gmail.com](mailto:kimchy@gmail.com) wrote:

> Can you post a sample curl indexing that recreates it? I assume that just  
> starting two nodes, with the below configuration and indexing a doc causes  
> that?
> 
> On Thu, Aug 18, 2011 at 7:43 PM, lukeforehand [lukeforehand@gmail.com](mailto:lukeforehand@gmail.com)wrote:
> 
> > It is easy to re-create, we don't run into this problem when indexing  
> > to a single index. This seems to happen if several indices are being  
> > created in a burst.
> > 
> > Here is the default mapping def:
> > 
> > [gist:1154470 · GitHub](http://gist.github.com/1154470)
> > 
> > -Luke
> > 
> > On Aug 18, 11:24 am, Shay Banon [kim...@gmail.com](mailto:kim...@gmail.com) wrote:
> > 
> > > Is it something you can easily recreate? Can you post your mappings  
> > > definition for "default"?
> > > 
> > > On Thu, Aug 18, 2011 at 5:33 PM, lukeforehand \<[lukeforeh...@gmail.com](mailto:lukeforeh...@gmail.com)  
> > > wrote:
> > > 
> > > > I am revisiting this archived thread:
> > > 
> > > > [http://groups.google.com/a/elasticsearch.com/group/users/browse\_threa](http://groups.google.com/a/elasticsearch.com/group/users/browse_threa).  
> > > > ..
> > > 
> > > > I have gisted my log here:  
> > > > [gist:1152872 · GitHub](https://gist.github.com/1152872)
> > > 
> > > > We are also experiencing this problem with version 0.17.6
> > > 
> > > > Does anyone have any insight as to how this can happen?
> > > 
> > > > -Luke

---

<div class="post-metadata">

**Author:** ![lukeforehand\_2](https://avatars.discourse-cdn.com/v4/letter/l/cdc98d/32.png) [@lukeforehand\_2](https://discuss.elastic.co/u/lukeforehand_2)\
**Post date:** [August 19, 2011, 2:02pm UTC](https://discuss.elastic.co/t/es-seems-to-be-stuck-in-resyncing-mappings/5192/6 "2011-08-19T14:02:01Z")

</div>

Thanks Shay, we have patched and will test today.

On Aug 18, 1:15 pm, Shay Banon [kim...@gmail.com](mailto:kim...@gmail.com) wrote:

> I did not manage to recreate it, but I think I found where it might happen.  
> Pushed a fix:[dynamic templates might cause elasticsearch to keep resync mappings · Issue #1257 · elastic/elasticsearch · GitHub](https://github.com/elasticsearch/elasticsearch/issues/1257)(its  
> on 0.17 branch as well). Can you check it if helps?

---

<div class="post-metadata">

**Author:** ![lukeforehand\_2](https://avatars.discourse-cdn.com/v4/letter/l/cdc98d/32.png) [@lukeforehand\_2](https://discuss.elastic.co/u/lukeforehand_2)\
**Post date:** [August 22, 2011, 6:48pm UTC](https://discuss.elastic.co/t/es-seems-to-be-stuck-in-resyncing-mappings/5192/7 "2011-08-22T18:48:40Z")

</div>

We have been testing with the patch for this and cannot reproduce the  
problem. More testing to follow, will keep you posted. Thanks,

-Luke

On Aug 19, 9:02 am, lukeforehand [lukeforeh...@gmail.com](mailto:lukeforeh...@gmail.com) wrote:

> Thanks Shay, we have patched and will test today.
> 
> On Aug 18, 1:15 pm, Shay Banon [kim...@gmail.com](mailto:kim...@gmail.com) wrote:
> 
> > I did not manage to recreate it, but I think I found where it might happen.  
> > Pushed a fix:[dynamic templates might cause elasticsearch to keep resync mappings · Issue #1257 · elastic/elasticsearch · GitHub](https://github.com/elasticsearch/elasticsearch/issues/1257)(its  
> > on 0.17 branch as well). Can you check it if helps?

---

<div class="post-metadata">

**Author:** ![kimchy](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kimchy/32/44952_2.png) [@kimchy](https://discuss.elastic.co/u/kimchy)\
**Post date:** [August 22, 2011, 6:51pm UTC](https://discuss.elastic.co/t/es-seems-to-be-stuck-in-resyncing-mappings/5192/8 "2011-08-22T18:51:15Z")

</div>

Great, thanks for the update!

On Mon, Aug 22, 2011 at 9:48 PM, lukeforehand [lukeforehand@gmail.com](mailto:lukeforehand@gmail.com)wrote:

> We have been testing with the patch for this and cannot reproduce the  
> problem. More testing to follow, will keep you posted. Thanks,
> 
> -Luke
> 
> On Aug 19, 9:02 am, lukeforehand [lukeforeh...@gmail.com](mailto:lukeforeh...@gmail.com) wrote:
> 
> > Thanks Shay, we have patched and will test today.
> > 
> > On Aug 18, 1:15 pm, Shay Banon [kim...@gmail.com](mailto:kim...@gmail.com) wrote:
> > 
> > > I did not manage to recreate it, but I think I found where it might  
> > > happen.  
> > > Pushed a fix:  
> > > [dynamic templates might cause elasticsearch to keep resync mappings · Issue #1257 · elastic/elasticsearch · GitHub](https://github.com/elasticsearch/elasticsearch/issues/1257)(its  
> > > on 0.17 branch as well). Can you check it if helps?

---

<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:** [July 6, 2017, 3:56am UTC](https://discuss.elastic.co/t/es-seems-to-be-stuck-in-resyncing-mappings/5192/9 "2017-07-06T03:56:22Z")

</div>


