Skip to content
This repository has been archived by the owner on Jul 24, 2024. It is now read-only.

tests: fix br_tikv_outage learner bug (#1256) #1281

Merged

Conversation

ti-chi-bot
Copy link
Member

This is an automated cherry-pick of #1256

What problem does this PR solve?

fix issue #1050
In the case outage-after-request, there is a voter peer on tikv1 removed, and then a learner peer on tikv1 added.
But then quickly in the next case outage-at-finegrained (don't restart tikv while doing backup), tikv3 is killed.
So there is only 1 peer and 1 learner for region 257, lead to test got stuck.

What is changed and how it works?

It seems the case outage-after-request have a bad influence on the next case, so this PR try to exchange the sequence of these cases.

Check List

Related changes

  • Need to cherry-pick to the release branch

Release note

-No release note

@ti-chi-bot ti-chi-bot added the status/LGT1 LGTM1 label Jun 25, 2021
@ti-chi-bot
Copy link
Member Author

[REVIEW NOTIFICATION]

This pull request has been approved by:

  • glorv
  • kennytm

To complete the pull request process, please ask the reviewers in the list to review by filling /cc @reviewer in the comment.
After your PR has acquired the required number of LGTMs, you can assign this pull request to the committer in the list by filling /assign @committer in the comment to help you merge this pull request.

The full list of commands accepted by this bot can be found here.

Reviewer can indicate their review by submitting an approval review.
Reviewer can cancel approval by submitting a request changes review.

@ti-chi-bot ti-chi-bot added status/LGT2 LGTM2 and removed status/LGT1 LGTM1 labels Jun 25, 2021
@Leavrth
Copy link
Collaborator

Leavrth commented Jun 25, 2021

/run-integration-test

1 similar comment
@Leavrth
Copy link
Collaborator

Leavrth commented Jun 25, 2021

/run-integration-test

@kennytm
Copy link
Collaborator

kennytm commented Jun 28, 2021

/run-integration-test

@kennytm
Copy link
Collaborator

kennytm commented Jun 29, 2021

/merge

@ti-chi-bot
Copy link
Member Author

This pull request has been accepted and is ready to merge.

Commit hash: ec8ea86

@ti-chi-bot ti-chi-bot merged commit adc1899 into pingcap:release-5.0 Jun 29, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants