Skip to content

kvserver: ignore errors encountered while removing live learners#80918

Merged
craig[bot] merged 1 commit intocockroachdb:masterfrom
aayushshah15:20220503_addLearnerSnapshotErrorToRelocateRoachtest
May 4, 2022
Merged

kvserver: ignore errors encountered while removing live learners#80918
craig[bot] merged 1 commit intocockroachdb:masterfrom
aayushshah15:20220503_addLearnerSnapshotErrorToRelocateRoachtest

Conversation

@aayushshah15
Copy link
Copy Markdown
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 review from lidorcarmel, nvb and tbg May 3, 2022 16:46
@aayushshah15 aayushshah15 requested a review from a team as a code owner May 3, 2022 16:46
@cockroach-teamcity
Copy link
Copy Markdown
Member

This change is Reviewable

Copy link
Copy Markdown
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
Copy Markdown
Contributor Author

TFTR

bors r+

@craig
Copy link
Copy Markdown
Contributor

craig bot commented May 4, 2022

Build succeeded:

@aayushshah15
Copy link
Copy Markdown
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