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: fix sanitizeLocalityKV() char handling #41479

Merged
merged 1 commit into from
Oct 10, 2019

Conversation

thoszhang
Copy link
Contributor

This PR fixes sanitizeLocalityKV(), which sanitizes locality KV strings so
they can be used in filepaths for partitioned backups, and was using the wrong
bounds to check for alphanumeric characters.

Release justification: This is a minor low-risk fix for a bug in a new feature.

Release note: None

This PR fixes `sanitizeLocalityKV()`, which sanitizes locality KV strings so
they can be used in filepaths for partitioned backups, and was using the wrong
bounds to check for alphanumeric characters.

Release justification: This is a minor low-risk fix for a bug in a new feature.

Release note: None
@cockroach-teamcity
Copy link
Member

This change is Reviewable

@thoszhang
Copy link
Contributor Author

bors r+

craig bot pushed a commit that referenced this pull request Oct 10, 2019
41479: backupccl: fix sanitizeLocalityKV() char handling r=lucy-zhang a=lucy-zhang

This PR fixes `sanitizeLocalityKV()`, which sanitizes locality KV strings so
they can be used in filepaths for partitioned backups, and was using the wrong
bounds to check for alphanumeric characters.

Release justification: This is a minor low-risk fix for a bug in a new feature.

Release note: None

Co-authored-by: Lucy Zhang <lucy-zhang@users.noreply.github.com>
@craig
Copy link
Contributor

craig bot commented Oct 10, 2019

Build succeeded

@craig craig bot merged commit 29c8c88 into cockroachdb:master Oct 10, 2019
@thoszhang thoszhang deleted the fix-sanitize-locality branch October 10, 2019 18:03
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.

4 participants