Skip to content

Backport fix for AutoFollowIT.testPauseAndResumeWithMultipleAutoFollowPatterns#48289

Merged
tlrx merged 1 commit intoelastic:7.xfrom
tlrx:fix-47917-7.x
Oct 21, 2019
Merged

Backport fix for AutoFollowIT.testPauseAndResumeWithMultipleAutoFollowPatterns#48289
tlrx merged 1 commit intoelastic:7.xfrom
tlrx:fix-47917-7.x

Conversation

@tlrx
Copy link
Copy Markdown
Member

@tlrx tlrx commented Oct 21, 2019

The test testPauseAndResumeWithMultipleAutoFollowPatterns
failed multiple times, mostly because it creates too many leader
indices and the following cluster cannot cope with cluster state
updates generated by following indices creation and pause/
resume auto-followers changes.

This commit simplifies the test by creating at most 20 leader
indices and by waiting for any new leader index to be picked
up by the auto-follower before created another leader index.
It also pause and resume less auto-followers as previously.

closes #47917

Backport of #48128 for 7.x.

…astic#48128)

The test testPauseAndResumeWithMultipleAutoFollowPatterns
failed multiple times, mostly because it creates too many leader
indices and the following cluster cannot cope with cluster state
updates generated by following indices creation and pause/
resume auto-followers changes.

This commit simplifies the test by creating at most 20 leader
indices and by waiting for any new leader index to be picked
up by the auto-follower before created another leader index.
It also pause and resume less auto-followers as previously.

closes elastic#47917
@tlrx tlrx added :Distributed/CCR Issues around the Cross Cluster State Replication features backport v7.6.0 labels Oct 21, 2019
@elasticmachine
Copy link
Copy Markdown
Collaborator

Pinging @elastic/es-distributed (:Distributed/CCR)

@tlrx tlrx merged commit 0094bd5 into elastic:7.x Oct 21, 2019
@tlrx tlrx deleted the fix-47917-7.x branch October 21, 2019 12:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport :Distributed/CCR Issues around the Cross Cluster State Replication features v7.6.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants