OpenSearch/x-pack/plugin/ccr
Tanguy Leroux 8f86469d3f
Do not auto-follow closed indices (#47721) (#47800)
Backport of (#47721) for 7.x.

Similarly to #47582, Auto-follow patterns creates following
indices as long as the remote index matches the pattern and
the remote primary shards are all started. But since 7.2 closed
indices are also replicated, and it does not play well with CCR
auto-follow patterns as they create following indices for closed
leader indices too.

This commit changes the getLeaderIndicesToFollow() so that closed
indices are excluded from auto-follow patterns.
2019-10-09 19:16:23 +02:00
..
qa Restrict which tasks can use testclusters (#45198) 2019-08-09 13:38:01 +03:00
src Do not auto-follow closed indices (#47721) (#47800) 2019-10-09 19:16:23 +02:00
build.gradle Close connection manager on current thread in RemoteClusterConnection (#44805) 2019-07-25 09:34:41 +02:00