Skip to content
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

Add peer set tracing and unreachable panics #1468

Merged
merged 1 commit into from
Dec 14, 2020

Conversation

teor2345
Copy link
Contributor

@teor2345 teor2345 commented Dec 7, 2020

Motivation

The peer set code doesn't have tracing for some events, address book counts, and unexpected conditions, so it's hard to diagnose bugs like #1435

Solution

Add extra tracing and unreachable! panics.

Review

This PR should wait until after the first alpha release, because it adds new panics.

@hdevalence wrote the peer set code.

Related Issues

This PR adds diagnostics for bug #1435

@teor2345 teor2345 added A-rust Area: Updates to Rust code C-cleanup Category: This is a cleanup labels Dec 7, 2020
@teor2345 teor2345 requested a review from hdevalence December 7, 2020 03:37
@teor2345 teor2345 self-assigned this Dec 7, 2020
@teor2345 teor2345 added the S-blocked Status: Blocked on other tasks label Dec 7, 2020
@teor2345
Copy link
Contributor Author

teor2345 commented Dec 7, 2020

Blocked on the first alpha release, due to the merge freeze

@dconnolly dconnolly removed the S-blocked Status: Blocked on other tasks label Dec 9, 2020
@teor2345 teor2345 marked this pull request as ready for review December 14, 2020 00:59
@teor2345 teor2345 merged commit 8e2f082 into ZcashFoundation:main Dec 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-rust Area: Updates to Rust code C-cleanup Category: This is a cleanup
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants