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: copy spans before SubtractSpans calls #122819

Merged
merged 1 commit into from
Apr 22, 2024

Conversation

msbutler
Copy link
Collaborator

Previously, backup assumed arguments to roachpb.SubtractSpans could be used, but the first arg is modified in place. This patch adds a wrapper to roachpb.SubtractSpans to copy the input spans before use.

Informs #122672
Informs #122734
Informs #122754
Informs #122764

Release note: none

Previously, backup assumed arguments to roachpb.SubtractSpans could be used,
but the first arg is modified in place. This patch adds a wrapper to
roachpb.SubtractSpans to copy the input spans before use.

Informs cockroachdb#122672
Informs cockroachdb#122734
Informs cockroachdb#122754
Informs cockroachdb#122764

Release note: none
Copy link

blathers-crl bot commented Apr 22, 2024

It looks like your PR touches production code but doesn't add or edit any test code. Did you consider adding tests to your PR?

🦉 Hoot! I am a Blathers, a bot for CockroachDB. My owner is dev-inf.

@cockroach-teamcity
Copy link
Member

This change is Reviewable

@msbutler msbutler marked this pull request as ready for review April 22, 2024 17:41
@msbutler msbutler requested review from a team as code owners April 22, 2024 17:41
@msbutler msbutler requested review from stevendanna and dt and removed request for a team April 22, 2024 17:41
@msbutler msbutler added the backport-24.1.x Flags PRs that need to be backported to 24.1. label Apr 22, 2024
@msbutler
Copy link
Collaborator Author

tftr!

bors r=dt

@craig craig bot merged commit d679773 into cockroachdb:master Apr 22, 2024
22 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport-24.1.x Flags PRs that need to be backported to 24.1. T-disaster-recovery
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants