-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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
cli: debug zip
with timeout, added dump for crdb_internal.gossip_*
#24469
Conversation
44c0fb7
to
859107a
Compare
LGTM with some comments. As for testing this, I think to merge this PR what you should do is to run Reviewed 4 of 4 files at r1. pkg/cli/zip.go, line 136 at r1 (raw file):
Just make this
and remove It's usually bad practice a) to not call the pkg/cli/zip.go, line 181 at r1 (raw file):
Create this early in this method. If it returns an error, the user likely didn't specify the correct flags to set up the connection. (Are the flags even available in this client command)? Log the error as a warning:
pkg/cli/zip.go, line 191 at r1 (raw file):
Log these as warnings. pkg/cli/zip.go, line 194 at r1 (raw file):
Ditto. Comments from Reviewable |
Review status: all files reviewed at latest revision, 4 unresolved discussions, all commit checks successful. pkg/cli/zip.go, line 142 at r1 (raw file):
I think it makes sense to log all of these Comments from Reviewable |
5db92d5
to
5e78c47
Compare
Now made command `debug zip` continue past errors with a timeout (based on peter's timeout commit). Also dumped information in crdb_internal.gossip_nodes and gossip_liveness to the output file. Fixes cockroachdb#23954. Release note: None
, thanks @windchan7! Reviewed 2 of 2 files at r2. Comments from Reviewable |
bors r+ |
🔒 Permission denied Existing reviewers: click here to make windchan7 a reviewer |
bors r+ |
24469: cli: `debug zip` with timeout, added dump for crdb_internal.gossip_* r=windchan7 a=windchan7 Now made command `debug zip` continue past errors with a timeout (based on peter's timeout commit). Also dumped information in crdb_internal.gossip_nodes and gossip_liveness to the output file. Fixes #23954. Release note: None
Build succeeded |
Now made command
debug zip
continue past errors with a timeout(based on peter's timeout commit).
Also dumped information in crdb_internal.gossip_nodes and gossip_liveness
to the output file.
Fixes #23954.
Release note: None