-
Notifications
You must be signed in to change notification settings - Fork 2.3k
[vtadmin] Aggregate schema sizes #7751
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
Merged
rafael
merged 25 commits into
vitessio:master
from
tinyspeck:am_vtadmin_aggregate_schema_sizes
Mar 31, 2021
Merged
Changes from all commits
Commits
Show all changes
25 commits
Select commit
Hold shift + click to select a range
b09ab1d
WIP: first pass and adding sizes to protobufs
1a576f4
WIP: first stab at an aggregator version of `GetSchema`
de087ac
WIP: refactor out FilterTablets
8fd5d51
WIP: change protos to uint64
2693c11
WIP: update code for uint64
330d603
WIP: add Dial
1d92c60
WIP: more typed errors
af751d4
WIP: refactor to use GetSchemaForKeyspace in api (I'll back-name this…
1d45afb
WIP: remove last instance of old cluster.GetSchema, some minor touches
f47f149
WIP: add spans, add error wraps
46a0ec5
Minor changes to `GetSchemaForKeyspace`, update test code
6a1c5cf
Remove old method, rename new method to match, and docs docs docs
dd6c1ab
Add cluster-level GetSchema tests for size aggregation
65d8153
Update existing api tests for GetSchema(s)/FindSchema, remove dead code
13908c0
Thread sizeopts through all vtadmin schema endpoints
d7498e2
Update http adapters to grab sizeopts out of the query params
4d6bbf9
Add test for multi-cluster GetSchema size-aggr
f06582f
Add size aggr test case for FindSchema
30edd7d
Add sizeaggr test case for GetSchemas
be136d8
nits: whitespace, replace stub log lines
6de47eb
Refactor `FindAllShardsInKeyspace` to a cluster-level method
39a7eae
Extract helper function for collecting tabletsToQuery for GetSchema
9777f0d
Extract helper function for orchestrating the per-tablet GetSchema rpcs
9d5a725
Remove IncludeNonServingShards from TableSizeOptions
db26e63
PR feedback around naming, logging, and error handling
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
Large diffs are not rendered by default.
Oops, something went wrong.
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
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.
Uh oh!
There was an error while loading. Please reload this page.