Skip to content

Conversation

@DaveCTurner
Copy link
Contributor

Backports the following commits to 8.1:

This test computes the expected message by tracking the different kinds
of failures generated by a mock transport service. This tracking counts
consecutive failures so is reset on success, but it is not explicitly
reset when starting the second pass. This was usually fine since we
start the second pass with a long sequence of checks that do not fail
which would reset the tracking. Rarely however this sequence was too
short to contain any success responses, so the counters would not be
reset as needed.

This commit makes sure we run at least `leaderCheckRetryCount`
iterations without a failure to ensure that at least one of them
succeeds.

Closes elastic#83857
Closes elastic#83924
@DaveCTurner DaveCTurner added auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) backport labels Feb 15, 2022
@elasticsearchmachine elasticsearchmachine merged commit ca44649 into elastic:8.1 Feb 15, 2022
@DaveCTurner DaveCTurner deleted the backport/8.1/pr-83897 branch February 15, 2022 15:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) backport v8.1.1

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants