-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Fix tried to send handshake twice #5413
Conversation
| NotificationsInSubstreamHandshake::NotSent => | ||
| return Poll::Pending, | ||
| NotificationsInSubstreamHandshake::NotSent => { | ||
| *this.handshake = NotificationsInSubstreamHandshake::NotSent; |
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.
The main bugfix is here.
The rest of the PR is only the log statements that I added a bit everywhere in my attempts to understand the issue.
client/network/src/protocol/generic_proto/upgrade/notifications.rs
Outdated
Show resolved
Hide resolved
romanb
left a comment
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.
Not sure about the test failure on should_revalidate_across_many_blocks, I think I've seen it before (i.e. I think it is just a flaky test, but don't take my word for it).
test was fixed, just merge master @tomaka |
|
#5360 has been merged and triggers this error way more often, so I'm going to merge this fix as soon as the CI passes. |
|
@NikVolf Now it's |
cc #5201
There was a possible state inconsistency in the
NotificationsInSubstream.