cockroachdb / cockroachdb/cockroach

cloud: URI parameters should be caps lock agnostic

Open
#103,779 3 comments 0 reactions 0 assignees View on GitHub
A-disaster-recovery backport-23.1.x C-enhancement E-starter T-disaster-recovery
Dominant language
Go
Stars
32.5k
Forks
4.1k
PR merge metrics
PR metrics pending

Description

Today, when a user passes in a cloud URI, we "consume" the parameters that we know how to process depending on the cloud provider. We do not normalize the parameters passed in by the user and so unless they match the capitalization of our baked in param names, the URI validation function will throw an error.

Egs: `s3_storage_class` is not a valid parameter to an s3 URI, but `S3_STORAGE_CLASS` is. This is annoying and the error thrown could make the user question what they're doing wrong without any obvious next steps.

Jira issue: CRDB-28198

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.