CCR automatically replicates all x-pack index settings
#51,972 opened on 2020年2月6日
Repository metrics
- Stars
- (76,700 stars)
- PR merge metrics
- (平均マージ 2d) (30d で 1,000 merged PRs)
説明
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).