-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
vindexes: return unknown params (#12951)
* go/vt/vtgate/vindexes: (in)validate unknown and required params Signed-off-by: Max Englander <max@planetscale.com> * dont mess around with require params for now Signed-off-by: Max Englander <max@planetscale.com> * expose unknown vindex params as warnings Signed-off-by: Max Englander <max@planetscale.com> * fix some broken tests Signed-off-by: Max Englander <max@planetscale.com> * fix more broken tests Signed-off-by: Max Englander <max@planetscale.com> * check for warnings Signed-off-by: Max Englander <max@planetscale.com> * unexport vindexes.New*, force use CreateVindex Signed-off-by: Max Englander <max@planetscale.com> * test for allowed/unknown params Signed-off-by: Max Englander <max@planetscale.com> * checkpoint Signed-off-by: Max Englander <max@planetscale.com> * checkpoint Signed-off-by: Max Englander <max@planetscale.com> * checkpoint Signed-off-by: Max Englander <max@planetscale.com> * checkpoint Signed-off-by: Max Englander <max@planetscale.com> * checkpoint Signed-off-by: Max Englander <max@planetscale.com> * checkpoint Signed-off-by: Max Englander <max@planetscale.com> * checkpoint Signed-off-by: Max Englander <max@planetscale.com> * remove Info() tests Signed-off-by: Max Englander <max@planetscale.com> * checkpoint Signed-off-by: Max Englander <max@planetscale.com> * check for warnings in tests Signed-off-by: Max Englander <max@planetscale.com> * check for warnings in tests Signed-off-by: Max Englander <max@planetscale.com> * rfc option 1 Signed-off-by: Max Englander <max@planetscale.com> * InvalidParamErrors() []error => UnknownParams() []string Signed-off-by: Max Englander <max@planetscale.com> * pr feedback: +license, simplify ret val, constant param keys Signed-off-by: Max Englander <max@planetscale.com> * whoops actually use param constants Signed-off-by: Max Englander <max@planetscale.com> --------- Signed-off-by: Max Englander <max@planetscale.com>
- Loading branch information
1 parent
cc380c4
commit 7830175
Showing
52 changed files
with
2,488 additions
and
680 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.