How ElasticSearch nodes syncrhonise in Cluster when nodes have different Index mappings

Hi ,

Kindly help me to understand the behaviour of ES nodes in Cluster when
nodes have different Index mappings.

I have 2 ES nodes both are currently having same Index versions. Now I want
to upgrade both the nodes with the new index mapping.

Scenario 1 : Without keeping the node down, start mapping changes on Node1.
During the mapping changes, if any request comes & suppose it is handled by
Node1 only.
Now, How & when this Node#1 & Node#2 will synchronise?

Scenario 2 : Without keeping the node down, start mapping changes on Node1.
During the mapping changes, if any request comes & suppose it is handled by
Node2.
Now, How & when this Node#1 & Node#2 will synchronise?

Want to know, whose data will be available after the complete mappings
completion on both nodes.

--
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/848a1c4e-a0a1-4a65-80d9-d184bda6b3ef%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Mapping is applied at cluster level, and existing index wont get the new mapping. You will need to reindex your data, aka create a new index after you apply the new mapping

--
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/4a02b6e5-71e9-47bf-a334-379a666ed2bd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Yes, I am creating new index and then migrating the data from older index
to new index. So, when this migration is going on, if any request comes,
then what would be the behaviour?

On Friday, June 13, 2014 3:11:52 PM UTC+5:30, Luis García Acosta wrote:

Mapping is applied at cluster level, and existing index wont get the new
mapping. You will need to reindex your data, aka create a new index after
you apply the new mapping

--
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/c903f779-1b3d-42fd-8d49-4157465c9eac%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

That depends on how you do the migration, it's not something ES handles
automatically, you need to do it yourself.

Regards,
Mark Walkom

Infrastructure Engineer
Campaign Monitor
email: markw@campaignmonitor.com
web: www.campaignmonitor.com

On 13 June 2014 19:47, Bhupali Kalmegh bhupali123@gmail.com wrote:

Yes, I am creating new index and then migrating the data from older index
to new index. So, when this migration is going on, if any request comes,
then what would be the behaviour?

On Friday, June 13, 2014 3:11:52 PM UTC+5:30, Luis García Acosta wrote:

Mapping is applied at cluster level, and existing index wont get the new
mapping. You will need to reindex your data, aka create a new index after
you apply the new mapping

--
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.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/c903f779-1b3d-42fd-8d49-4157465c9eac%40googlegroups.com
https://groups.google.com/d/msgid/elasticsearch/c903f779-1b3d-42fd-8d49-4157465c9eac%40googlegroups.com?utm_medium=email&utm_source=footer
.

For more options, visit https://groups.google.com/d/optout.

--
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/CAEM624btWzhjYs-RsFSU%3DTN1JUmEDdDfabpNU-0Yd2%2BSP3J%2BiQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.