# Sending mapping updated to master in logs

**URL:** <https://discuss.elastic.co/t/sending-mapping-updated-to-master-in-logs/13662>\
**Category:** Elasticsearch\
**Created:** [September 18, 2013, 6:51am UTC](https://discuss.elastic.co/t/sending-mapping-updated-to-master-in-logs/13662 "2013-09-18T06:51:33Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![narinder\_izap](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/narinder_izap/32/803_2.png) [@narinder\_izap](https://discuss.elastic.co/u/narinder_izap)\
**Post date:** [September 18, 2013, 6:51am UTC](https://discuss.elastic.co/t/sending-mapping-updated-to-master-in-logs/13662/1 "2013-09-18T06:51:33Z")

</div>

Hey,

```
    I am on latest version of elasticsearch 0.90.5, and I need to 

```

analyze it behave for its consistency, so we can upgrade it on our live  
site, I just saw following in the logs

_"[2013-09-18 11:29:57,650][DEBUG][action.index] [Iron Cross]  
Sending mapping updated to master: index [es\_16] type [Parent\_type]"_  
_"[2013-09-18 11:29:57,650][DEBUG][action.index] [Iron Cross]  
Sending mapping updated to master: index [es\_16] type [Child\_type]"_\*  
\*  
\*  
\*  
Can anyone please explain me what is exactly happening for this, as I have  
strictly defined my mappings, is mapping being updated or something else  
???

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![javanna](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/javanna/32/4698_2.png) [@javanna](https://discuss.elastic.co/u/javanna)\
**Post date:** [September 19, 2013, 4:27pm UTC](https://discuss.elastic.co/t/sending-mapping-updated-to-master-in-logs/13662/2 "2013-09-19T16:27:23Z")

</div>

Hi,  
it's a log line that we recently added, which should not have been printed  
out by default though as it should have been "trace". I'm going to fix that.

Anyway, you see that line when you index a document and the mapping gets  
updated due to that. The updated mapping needs to be sent to the master  
node to be processed and become part of the cluster state, and then be  
pushed to all the other nodes as well.

Cheers  
Luca

On Wednesday, September 18, 2013 8:51:33 AM UTC+2, Narinder Kaur wrote:

> Hey,
> 
> ```
> I am on latest version of elasticsearch 0.90.5, and I need to 
> 
> ```
> 
> analyze it behave for its consistency, so we can upgrade it on our live  
> site, I just saw following in the logs
> 
> \*"[2013-09-18 11:29:57,650][DEBUG][action.index] [Iron  
> Cross] Sending mapping updated to master: index [es\_16] type [Parent\_type]"  
> \*  
> \*"[2013-09-18 11:29:57,650][DEBUG][action.index] [Iron  
> Cross] Sending mapping updated to master: index [es\_16] type [Child\_type]"  
> \*\*  
> \*  
> \*  
> \*  
> Can anyone please explain me what is exactly happening for this, as I have  
> strictly defined my mappings, is mapping being updated or something else  
> ???

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![narinder\_izap](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/narinder_izap/32/803_2.png) [@narinder\_izap](https://discuss.elastic.co/u/narinder_izap)\
**Post date:** [November 16, 2013, 10:23am UTC](https://discuss.elastic.co/t/sending-mapping-updated-to-master-in-logs/13662/3 "2013-11-16T10:23:06Z")

</div>

As you said above, the mapping get updated, But what if I am sending the  
same data format ?? and I do not expect the mapping changes??

For example :

[2013-11-16 15:48:48,922][DEBUG][action.index] [Jones, Hugh]  
Sending mapping updated to master: index [es\_16] type [YsChannel]  
If it is representing the change in mapping then what does the following  
representing :

[2013-11-16 15:49:45,584][INFO][cluster.metadata] [Jones, Hugh]  
[es\_16] update\_mapping [YsVideo] (dynamic)

Its just a query, As I need to understand it with difference between the  
two.

Thanks  
Narinder Kaur

On Thursday, 19 September 2013 21:57:23 UTC+5:30, Luca Cavanna wrote:

> Hi,  
> it's a log line that we recently added, which should not have been printed  
> out by default though as it should have been "trace". I'm going to fix that.
> 
> Anyway, you see that line when you index a document and the mapping gets  
> updated due to that. The updated mapping needs to be sent to the master  
> node to be processed and become part of the cluster state, and then be  
> pushed to all the other nodes as well.
> 
> Cheers  
> Luca
> 
> On Wednesday, September 18, 2013 8:51:33 AM UTC+2, Narinder Kaur wrote:
> 
> > Hey,
> > 
> > ```
> > I am on latest version of elasticsearch 0.90.5, and I need to 
> > 
> > ```
> > 
> > analyze it behave for its consistency, so we can upgrade it on our live  
> > site, I just saw following in the logs
> > 
> > _"[2013-09-18 11:29:57,650][DEBUG][action.index] [Iron  
> > Cross] Sending mapping updated to master: index [es\_16] type [Parent\_type]"_  
> > _"[2013-09-18 11:29:57,650][DEBUG][action.index] [Iron  
> > Cross] Sending mapping updated to master: index [es\_16] type [Child\_type]"_
> > 
> > Can anyone please explain me what is exactly happening for this, as I  
> > have strictly defined my mappings, is mapping being updated or something  
> > else ???

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![javanna](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/javanna/32/4698_2.png) [@javanna](https://discuss.elastic.co/u/javanna)\
**Post date:** [November 16, 2013, 10:34am UTC](https://discuss.elastic.co/t/sending-mapping-updated-to-master-in-logs/13662/4 "2013-11-16T10:34:02Z")

</div>

Right, a mapping update gets sent only if the mapping actually needs to be  
updated. Can you make sure your new document doesn't contain anything  
that's different compared to your current mapping?

On Sat, Nov 16, 2013 at 11:23 AM, Narinder Kaur [narinder.kaur@izap.in](mailto:narinder.kaur@izap.in)wrote:

> As you said above, the mapping get updated, But what if I am sending the  
> same data format ?? and I do not expect the mapping changes??
> 
> For example :
> 
> [2013-11-16 15:48:48,922][DEBUG][action.index] [Jones, Hugh]  
> Sending mapping updated to master: index [es\_16] type [YsChannel]  
> If it is representing the change in mapping then what does the following  
> representing :
> 
> [2013-11-16 15:49:45,584][INFO][cluster.metadata] [Jones, Hugh]  
> [es\_16] update\_mapping [YsVideo] (dynamic)
> 
> Its just a query, As I need to understand it with difference between the  
> two.
> 
> Thanks  
> Narinder Kaur
> 
> On Thursday, 19 September 2013 21:57:23 UTC+5:30, Luca Cavanna wrote:
> 
> > Hi,  
> > it's a log line that we recently added, which should not have been  
> > printed out by default though as it should have been "trace". I'm going to  
> > fix that.
> > 
> > Anyway, you see that line when you index a document and the mapping gets  
> > updated due to that. The updated mapping needs to be sent to the master  
> > node to be processed and become part of the cluster state, and then be  
> > pushed to all the other nodes as well.
> > 
> > Cheers  
> > Luca
> > 
> > On Wednesday, September 18, 2013 8:51:33 AM UTC+2, Narinder Kaur wrote:
> > 
> > > Hey,
> > > 
> > > ```
> > > I am on latest version of elasticsearch 0.90.5, and I need to
> > > 
> > > ```
> > > 
> > > analyze it behave for its consistency, so we can upgrade it on our live  
> > > site, I just saw following in the logs
> > > 
> > > _"[2013-09-18 11:29:57,650][DEBUG][action.index] [Iron  
> > > Cross] Sending mapping updated to master: index [es\_16] type [Parent\_type]"_  
> > > _"[2013-09-18 11:29:57,650][DEBUG][action.index] [Iron  
> > > Cross] Sending mapping updated to master: index [es\_16] type [Child\_type]"_
> > > 
> > > Can anyone please explain me what is exactly happening for this, as I  
> > > have strictly defined my mappings, is mapping being updated or something  
> > > else ???
> > 
> > --  
> > You received this message because you are subscribed to a topic in the  
> > Google Groups "elasticsearch" group.  
> > To unsubscribe from this topic, visit  
> > [https://groups.google.com/d/topic/elasticsearch/tCI7ek9WKmg/unsubscribe](https://groups.google.com/d/topic/elasticsearch/tCI7ek9WKmg/unsubscribe).  
> > To unsubscribe from this group and all its topics, send an email to  
> > [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
> > For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<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, 2:06am UTC](https://discuss.elastic.co/t/sending-mapping-updated-to-master-in-logs/13662/5 "2017-07-06T02:06:38Z")

</div>


