elasticsearch/docs/java-rest/high-level/ccr
Jason Tedor 2e0274266f
Allow follower indices to override leader settings (#58103)
Today when creating a follower index via the put follow API, or via an
auto-follow pattern, it is not possible to specify settings overrides
for the follower index. Instead, we copy all of the leader index
settings to the follower. Yet, there are cases where a user would want
some different settings on the follower index such as the number of
replicas, or allocation settings. This commit addresses this by allowing
the user to specify settings overrides when creating follower index via
manual put follower calls, or via auto-follow patterns. Note that not
all settings can be overrode (e.g., index.number_of_shards) so we also
have detection that prevents attempting to override settings that must
be equal between the leader and follow index. Note that we do not even
allow specifying such settings in the overrides, even if they are
specified to be equal between the leader and the follower
index. Instead, the must be implicitly copied from the leader index, not
explicitly set by the user.
2020-06-18 10:55:17 -04:00
..
delete_auto_follow_pattern.asciidoc
forget_follower.asciidoc
get_auto_follow_pattern.asciidoc
get_follow_info.asciidoc
get_follow_stats.asciidoc
get_stats.asciidoc
pause_auto_follow_pattern.asciidoc
pause_follow.asciidoc
put_auto_follow_pattern.asciidoc
put_follow.asciidoc
resume_auto_follow_pattern.asciidoc
resume_follow.asciidoc
unfollow.asciidoc