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 auto-append destination resolution #54460

Merged
merged 1 commit into from
Sep 21, 2020

Conversation

pbardea
Copy link
Contributor

@pbardea pbardea commented Sep 16, 2020

This commit fixes a bug where destination resolution to auto-appendable
backups would fail if the URI had authentication params specified.

Fixes #54455.

Release note (bug fix): In a previous beta, backing up to an
auto-appendable directory would not work if authentication parameters
were specified in the URI.

@pbardea pbardea requested review from a team and miretskiy and removed request for a team September 16, 2020 16:45
@cockroach-teamcity
Copy link
Member

This change is Reviewable

@pbardea
Copy link
Contributor Author

pbardea commented Sep 16, 2020

This needs more testing, and will rebase on top of #54458. Will follow up when more testing is added.

@pbardea pbardea force-pushed the resolve-fix branch 5 times, most recently from bc02892 to 1d44b6d Compare September 17, 2020 23:54
@pbardea
Copy link
Contributor Author

pbardea commented Sep 17, 2020

Added a suite of tests to test resolveDest. There's more that we can do here, but I think this should be a good start.
Ready for another look.

This commit fixes a bug where destination resolution to auto-appendable
backups would fail if the URI had authentication params specified.

Release note (bug fix): In a previous beta, backing up to an
auto-appendable directory would not work if authentication parameters
were specified in the URI.
@dt
Copy link
Member

dt commented Sep 21, 2020

bors r=miretskiy

@craig
Copy link
Contributor

craig bot commented Sep 21, 2020

Build succeeded:

@craig craig bot merged commit d17d32b into cockroachdb:master Sep 21, 2020
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.

backup INTO LATEST bug: incremental failing with LATEST syntax with malformed URL
4 participants