Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

kvserver: ignore errors encountered while removing live learners #80918

Conversation

aayushshah15
Copy link
Contributor

@aayushshah15 aayushshah15 commented May 3, 2022

This commit fixes a set of failures noticed in #79887 where a bunch of
EXPERIMENTAL_RELOCATE calls failed because they tried removing learner
replicas that are in the process of receiving their initial snapshot. The test simply
randomly issues these RELOCATE calls so this behavior is intentional.

Removing learners in this state is disallowed as of #79379. This commit fixes a
subset of those failures by making the kv50/rangelookups roachtest ignore
these errors.

Relates to #79887

Release note: None

This commit fixes a set of failures noticed in cockroachdb#79887 where a bunch of
`EXPERIMENTAL_RELOCATE` calls failed because they tried removing learner
replicas that are in the process of receiving their initial snapshot.

Removing learners in this state is disallowed as of cockroachdb#79379. This commit fixes a
subset of those failures by making the `kv50/rangelookups` roachtest ignore
these errors.

Relates to cockroachdb#79887

Release note: None
@aayushshah15 aayushshah15 requested a review from a team as a code owner May 3, 2022 16:46
@cockroach-teamcity
Copy link
Member

This change is Reviewable

Copy link
Member

@tbg tbg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed 1 of 1 files at r1, all commit messages.
Reviewable status: :shipit: complete! 0 of 0 LGTMs obtained (waiting on @lidorcarmel and @nvanbenschoten)

@aayushshah15
Copy link
Contributor Author

TFTR

bors r+

@craig
Copy link
Contributor

craig bot commented May 4, 2022

Build succeeded:

@aayushshah15
Copy link
Contributor Author

blathers backport 22.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants