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

release-19.2: backupccl: fix sanitizeLocalityKV() char handling #41501

Merged
merged 1 commit into from
Oct 14, 2019

Conversation

thoszhang
Copy link
Contributor

Backport 1/1 commits from #41479.

/cc @cockroachdb/release


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
@thoszhang thoszhang requested a review from dt October 10, 2019 16:09
@cockroach-teamcity
Copy link
Member

This change is Reviewable

@thoszhang thoszhang merged commit 2395133 into cockroachdb:release-19.2 Oct 14, 2019
@thoszhang thoszhang deleted the backport19.2-41479 branch October 14, 2019 17:09
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