Thanks to visit codestin.com
Credit goes to github.com

Skip to content

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
@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.

3 participants