OpenSearch/x-pack/plugin
Martijn van Groningen 88489a3f3a
Backport rolling upgrade multi cluster module (#38859)
* Add rolling upgrade multi cluster test module (#38277)

This test starts 2 clusters, each with 3 nodes.
First the leader cluster is started and tests are run against it and
then the follower cluster is started and tests execute against this two cluster.

Then the follower cluster is upgraded, one node at a time.
After that the leader cluster is upgraded, one node at a time.
Every time a node is upgraded tests are ran while both clusters are online.
(and either leader cluster has mixed node versions or the follower cluster)

This commit only tests CCR index following, but could be used for CCS tests as well.
In particular for CCR, unidirectional index following is tested during a rolling upgrade.
During the test several indices are created and followed in the leader cluster before or
while the follower cluster is being upgraded.

This tests also verifies that attempting to follow an index in the upgraded cluster
from the not upgraded cluster fails. After both clusters are upgraded following the
index that previously failed should succeed.

Relates to #37231 and #38037

* Filter out upgraded version index settings when starting index following (#38838)

The `index.version.upgraded` and `index.version.upgraded_string` are likely
to be different between leader and follower index. In the event that
a follower index gets restored on a upgraded node while the leader index
is still on non-upgraded nodes.

Closes #38835
2019-02-14 08:12:14 +01:00
..
ccr Backport rolling upgrade multi cluster module (#38859) 2019-02-14 08:12:14 +01:00
core Perform precise check for types warnings in cluster restart tests. (#37944) 2019-02-13 11:28:58 -08:00
deprecation Make 7.x like 6.7 user agent ecs, but default to true (#38828) 2019-02-13 10:28:01 -06:00
graph Remove X-Pack centric graph endpoints (#36010) 2018-11-29 07:09:37 -05:00
ilm Remove support for maxRetryTimeout from low-level REST client (#38085) 2019-02-06 08:43:47 +01:00
logstash Rename confusing variable holding name of Logstash index template (#36840) 2018-12-19 12:09:37 -07:00
ml ML allow aliased .ml-anomalies* index on PUT Job (#38821) (#38847) 2019-02-13 10:58:55 -06:00
monitoring Remove _type term filters from cluster alert watches (#38819) (#38826) 2019-02-12 19:54:36 -08:00
rollup Switch mapping/aggregations over to java time (#36363) 2019-01-23 10:40:05 +01:00
security Enhance parsing of StatusCode in SAML Responses (#38628) 2019-02-11 11:55:26 +02:00
sql SQL: Implement `::` cast operator (#38774) 2019-02-12 16:54:14 +02:00
src/test ML: update set_upgrade_mode, add logging (#38372) (#38538) 2019-02-08 12:56:04 -06:00
upgrade Converting randomized testing to create a separate unitTest task instead of replacing the builtin test task (#36311) 2018-12-19 08:25:20 +02:00
watcher Only flush Watcher's bulk processor if Watcher is enabled (#38803) 2019-02-13 16:13:53 -07:00
build.gradle Add support for API keys to access Elasticsearch (#38291) 2019-02-05 14:21:57 +11:00