CCR automatically replicates all x-pack index settings
#51.972 aperta il 6 feb 2020
Metriche repository
- Star
- (76.700 star)
- Metriche merge PR
- (Merge medio 2g) (1000 PR mergiate in 30 g)
Descrizione
CCR is deliberate about which index settings it copies:
In fact, there is a test to ensure that if any index setting is added, the setting is either deliberately marked as replicated, or is added to the list of non-replicated settings:
Alas, there is some oversight here which relates to index settings registered in x-pack (e.g., ILM index-level settings such as the index policy). This means that today, all such settings are replicated from the leader to the follower. This can lead to issues on the follower (e.g., explicit issues such as if the ILM policy does not exist in the local cluster, or implicit issues such as if the ILM policy does exist in the local cluster, but it's not the one that user wanted to have used on the follower index).