-
Notifications
You must be signed in to change notification settings - Fork 973
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
Update overlay survey script with lessons learned during testnet run #4358
Conversation
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.
Thanks! Just a few questions. Looks like the PR needs to be rebased also to re-trigger CI.
any update on this change? would be nice to land it in v21.2.0 (starts today), so we can use new-style script for pubnet. |
This change makes a few tweaks to the overlay survey script to fix some small things I noticed after running it on testnet: * Changes the scripts end condition to depend only on responses, and not requests. Without this it was possible for the survey script to run for the full duration of the collecting phase (2 hours) if a node with more than 25 peers stopped responding after the surveyor recieved the first set of peers. * Downgrades the severity of "node already in backlog" messages from `error` to `debug`. This is an expected condition that I simply forgot to special-case before. * Modifies the simulator to occasionally return "node already in backlog" messages to test the script against that case. * Adds a `--fast` option to the `simulate` mode that skips any `sleep` calls. This makes the script much nicer to test. * Fixes naming of graphml fields to match JSON result fields. * I did most of this in the V2 script update, but missed a couple spots. * Most of this change is in the simulator to support the new field names.
6979693
to
9987bdd
Compare
I just responded to your comments and rebased the change |
Description
This change makes a few tweaks to the overlay survey script to fix some small things I noticed after running it on testnet:
error
todebug
. This is an expected condition that I simply forgot to special-case before.--fast
option to thesimulate
mode that skips anysleep
calls. This makes the script much nicer to test.Checklist
clang-format
v8.0.0 (viamake format
or the Visual Studio extension)