Hello,
I'm trying to understand how Elasticsearch ensures consistency of index mappings across all primary and replica shards. Specifically:
- When an index is created with mappings, does the master node propagate these mappings to all shards?
- How does Elasticsearch manage updates to mappings (e.g., when new fields are dynamically added) across primary and replica shards?
- Is there any situation where mapping consistency might fail across shards, and if so, how is that managed?
I've reviewed the Elasticsearch documentation on mappings and shard allocation, but I haven't found explicit details on this propagation mechanism. Any insight into how the master node interacts with shards for mapping synchronization would be helpful.