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

backupccl: return not ok during import key elision in rewriter #102875

Merged
merged 1 commit into from
May 10, 2023

Conversation

msbutler
Copy link
Collaborator

@msbutler msbutler commented May 8, 2023

Previously, when the key rewriter encountered a key from an in progress import during restore, it would throw an error which would then be handled in the restore data processor. This patch modifies the key rewriter to now return not ok in this case, and simplifies the rewriter to always return early if a key is not ok.

Epic: none

Release note: None

Previously, when the key rewriter encountered a key from an in progress import
during restore, it would throw an error which would then be handled in the
restore data processor. This patch modifies the key rewriter to now return not
ok in this case, and simplifies the rewriter to always return early if a key
is not ok.

Epic: none

Release note: None
@msbutler msbutler requested a review from dt May 8, 2023 13:00
@msbutler msbutler self-assigned this May 8, 2023
@msbutler msbutler requested review from a team as code owners May 8, 2023 13:00
@cockroach-teamcity
Copy link
Member

This change is Reviewable

@msbutler
Copy link
Collaborator Author

TFTR!

bors r=adityamaru

@craig
Copy link
Contributor

craig bot commented May 10, 2023

Build succeeded:

@craig craig bot merged commit 506a55a into cockroachdb:master May 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants