The shadow replica documentation has to following warning:
Because shadow replicas do not index the document on replica shards, it’s
possible for the replica’s known mapping to be behind the index’s known mapping
if the latest cluster state has not yet been processed on the node containing
the replica. Because of this, it is highly recommended to use pre-defined
mappings when using shadow replicas.
I've got two questions:
- What is the maximum amount of time a replica can be behind the latest mapping (1 refresh interval, 60s, 1 day?)
- What is the implication of a replica mapping being behind the latest mapping? Will queries including that field work as if it wasn't there, will a fatal error be thrown, etc?