-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Introducing ExecuteMultiFetchAsDba
gRPC and vtctldclient ExecuteMultiFetchAsDBA
command
#15506
Merged
shlomi-noach
merged 20 commits into
vitessio:main
from
planetscale:execute-multi-fetch-as-dba
Mar 19, 2024
Merged
Changes from all commits
Commits
Show all changes
20 commits
Select commit
Hold shift + click to select a range
b9ce5e6
ExecuteMultiFetchAsDBA, ExecuteMultiFetchAsDBARequest, ExecuteMultiFe…
shlomi-noach a724f08
vtctldclient: ExecuteMultiFetchAsDBA
shlomi-noach 670d12e
tabletmanager: ExecuteMultiFetchAsDba, ExecuteMultiFetchAsDbaRequest,…
shlomi-noach 0a54f24
make proto
shlomi-noach da8ec1b
make proto
shlomi-noach 876ff2d
make proto
shlomi-noach 63662a4
implement ExecuteMultiFetchAsDba
shlomi-noach 6a56649
vtctldclient: commandExecuteMultiFetchAsDBA
shlomi-noach 7fd95c6
implement ExecuteMultiFetchAsDba
shlomi-noach c4385a0
vtctldclient: return JSON array of results
shlomi-noach 8485c2e
use maxRows, wantFields
shlomi-noach 2cd06ea
unit and endtoend tests for ExecuteMultiFetchAsDBA
shlomi-noach c2dd2f2
consolidate logic for ExecuteFetchAsDba and ExecuteMultiFetchAsDba
shlomi-noach 4673113
comments
shlomi-noach 47741c7
implement in FakeTabletManagerClient
shlomi-noach 397b16d
implement in FakeTabletManagerClient
shlomi-noach b14bf2e
fix test
shlomi-noach 231b4e0
fix TestHelpOutput
shlomi-noach 9d3d84b
remvoe unused Errors field
shlomi-noach fdabcfb
remvoe unused Errors field
shlomi-noach File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Oops, something went wrong.
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For symmetry with the other
ExecuteFetch
, does this mean we also want / needExecuteMultiFetchAsApp
?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure. We have a specific use case for
DBA
, and no specific use case forApp
, so unsure we should add just for the sake of symmetry.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@shlomi-noach My thinking is that it would be mostly for people using
ExecuteFetchAsApp
with multiple queries and have it kinda accidentally mostly work. They wouldn't have anywhere to go if we don't have it. I don't know if this is a real valid concern though or not.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Having consulted with the team, we should not add
ExecuteMultiFetchAsApp
right now. Only when there's a specific use case.