OpenSearch/x-pack/plugin
Martijn van Groningen df488720e0
[CCR] Make shard follow tasks more resilient for restarts (#37239)
If a running shard follow task needs to be restarted and
the remote connection seeds have changed then
a shard follow task currently fails with a fatal error.

The change creates the remote client lazily and adjusts
the errors a shard follow task should retry.

This issue was found in test failures in the recently added
ccr rolling upgrade tests. The reason why this issue occurs
more frequently in the rolling upgrade test is because ccr
is setup in local mode (so remote connection seed will become stale) and
all nodes are restarted, which forces the shard follow tasks to get
restarted at some point during the test. Note that these tests
cannot be enabled yet, because this change will need to be backported
to 6.x first. (otherwise the issue still occurs on non upgraded nodes)

I also changed the RestartIndexFollowingIT to setup remote cluster
via persistent settings and to also restart the leader cluster. This
way what happens during the ccr rolling upgrade qa tests, also happens
in this test.

Relates to #37231
2019-01-10 15:02:30 +01:00
..
ccr [CCR] Make shard follow tasks more resilient for restarts (#37239) 2019-01-10 15:02:30 +01:00
core ML: add migrate anomalies assistant (#36643) 2019-01-09 14:25:35 -06:00
deprecation Simplify deprecation issue levels (#36326) 2018-12-07 15:45:53 -07:00
graph Remove X-Pack centric graph endpoints (#36010) 2018-11-29 07:09:37 -05:00
ilm Tests: Add ElasticsearchAssertions.awaitLatch method (#36777) 2019-01-10 09:25:36 +01:00
logstash Rename confusing variable holding name of Logstash index template (#36840) 2018-12-19 12:09:37 -07:00
ml ML: add migrate anomalies assistant (#36643) 2019-01-09 14:25:35 -06:00
monitoring Separate out validation of groups of settings (#34184) 2019-01-07 16:12:58 +00:00
rollup Add the ability to set the number of hits to track accurately (#36357) 2019-01-04 20:36:49 +01:00
security Test: fix race in auth result propagation test 2019-01-09 12:17:43 -07:00
sql SQL: Proper handling of COUNT(field_name) and COUNT(DISTINCT field_name) (#37254) 2019-01-10 09:51:51 +02:00
src/test [CCR] Resume follow Api should not require a request body (#37217) 2019-01-10 09:48:26 +01: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 Mute watcher SingleNodeTests 2019-01-10 12:23:29 +02:00
build.gradle Allow Integ Tests to run in a FIPS-140 JVM (#31989) 2018-07-24 12:48:14 +03:00