Backport: [topo] Disallow the slash character in shard names #12843#12858
Merged
deepthi merged 3 commits intovitessio:release-16.0from Apr 12, 2023
Merged
Backport: [topo] Disallow the slash character in shard names #12843#12858deepthi merged 3 commits intovitessio:release-16.0from
deepthi merged 3 commits intovitessio:release-16.0from
Conversation
* Disallow the slash character in shard names Fixes vitessio#12842. Signed-off-by: Andrew Mason <andrew@planetscale.com> * add release note Signed-off-by: Andrew Mason <andrew@planetscale.com> * Update go/vt/topo/shard.go Co-authored-by: Deepthi Sigireddi <deepthi.sigireddi@gmail.com> Signed-off-by: Andrew Mason <amason@hey.com> * Update changelog/17.0/17.0.0/summary.md Co-authored-by: Deepthi Sigireddi <deepthi.sigireddi@gmail.com> Signed-off-by: Andrew Mason <amason@hey.com> --------- Signed-off-by: Andrew Mason <andrew@planetscale.com> Signed-off-by: Andrew Mason <amason@hey.com> Co-authored-by: Deepthi Sigireddi <deepthi.sigireddi@gmail.com>
Signed-off-by: Andrew Mason <andrew@planetscale.com>
Contributor
Review ChecklistHello reviewers! 👋 Please follow this checklist when reviewing this Pull Request. General
If a new flag is being introduced:
If a workflow is added or modified:
Bug fixes
Non-trivial changes
New/Existing features
Backward compatibility
|
mattlord
approved these changes
Apr 6, 2023
changelog/16.0/16.0.2/summary.md
Outdated
|
|
||
| ### Shard name validation in TopoServer | ||
|
|
||
| Prior to v16.0.1, it was possible to create a shard name with invalid characters, which would then be inaccessible to various cluster management operations. |
Contributor
Author
There was a problem hiding this comment.
ugh, i was so careful to change it from 17!!!
Signed-off-by: Andrew Mason <andrew@planetscale.com>
frouioui
approved these changes
Apr 12, 2023
Closed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Backport of #12843