-
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
VReplication: Add support for verbosity level in Workflow Show commands #17799
Open
mattlord
wants to merge
9
commits into
vitessio:main
Choose a base branch
from
planetscale:vrepl_show_verbosity
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
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
Signed-off-by: Matt Lord <[email protected]>
Review ChecklistHello reviewers! 👋 Please follow this checklist when reviewing this Pull Request. General
Tests
Documentation
New flags
If a workflow is added or modified:
Backward compatibility
|
Signed-off-by: Matt Lord <[email protected]>
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #17799 +/- ##
==========================================
- Coverage 67.94% 67.44% -0.51%
==========================================
Files 1586 1592 +6
Lines 255224 258110 +2886
==========================================
+ Hits 173420 174079 +659
- Misses 81804 84031 +2227 ☔ View full report in Codecov by Sentry. |
Signed-off-by: Matt Lord <[email protected]>
3ea89c2
to
4b5a21c
Compare
Signed-off-by: Matt Lord <[email protected]>
4b5a21c
to
5f19059
Compare
Signed-off-by: Matt Lord <[email protected]>
Signed-off-by: Matt Lord <[email protected]>
Signed-off-by: Matt Lord <[email protected]>
e8e551d
to
b5af7a5
Compare
Signed-off-by: Matt Lord <[email protected]>
Signed-off-by: Matt Lord <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Component: VReplication
NeedsWebsiteDocsUpdate
What it says
release notes (needs details)
This PR needs to be listed in the release notes in a dedicated section (deprecation notice, etc...)
Type: Enhancement
Logical improvement (somewhere between a bug and feature)
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.
Description
The VReplication workflow show related commands have become MUCH more verbose than they were before v18.0 and the switch from
vtctlclient
tovtctldclient
. This information can certainly be useful/helpful, but in most cases it's unneeded and makes it much harder to find what info you do actually want. This PR adds a--verbosity-level
flag to the related commands so that you can limit how much information is returned and displayed.Note
I plan to create a follow-up PR to this one which also changes the default for the
--include-logs
flag to false. Much more often than not, this adds a LOT of noise to the output and makes it harder to find what you're looking for.Manual test and example output
Related Issue(s)
Checklist