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

Phil/colons in names #386

Merged
merged 2 commits into from
Jun 17, 2024
Merged

Phil/colons in names #386

merged 2 commits into from
Jun 17, 2024

Conversation

psFried
Copy link
Contributor

@psFried psFried commented Jun 17, 2024

Updates protocol validations to permit colons (:) in journal names, shard ids, and label values. Also updates shard id validation to permit the same characters as for journal names, meaning that = % : are all now allowed in shard ids.


This change is Reviewable

psFried added 2 commits June 17, 2024 12:12
Makes the colon (:) character permissible in journal names and label
values (but not shard ids, yet). There's valid use cases for allowing
them (colons are used as separators in the ids for Flow and other
systems), and we've found no reason to disallow them.
Updates consumer shard ID validation to permit a few additional symbols,
and bring the set of allowable characters in line with journal names.
The characters "=%:" were previously disallowed in shard IDs, but
allowed in journal names and label values. Those characters are now
permissible in shard IDs too.
@psFried psFried requested a review from jgraettinger June 17, 2024 16:24
Copy link
Contributor

@jgraettinger jgraettinger left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@psFried psFried merged commit edf95ee into master Jun 17, 2024
1 check passed
@psFried psFried deleted the phil/colons-in-names branch June 17, 2024 17:12
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.

2 participants