You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
dmitry-markin opened this issue
Aug 20, 2024
· 0 comments
Labels
D0-easyCan be fixed primarily by duplicating and adapting code by an intermediate coder.I2-bugThe node fails to follow expected behavior.T0-nodeThis PR/Issue is related to the topic “node”.
We can hit a race condition if the response from the request-response protocol is delivered after the sync peer disconnect event from the notifications protocol.
The text was updated successfully, but these errors were encountered:
dmitry-markin
added
T0-node
This PR/Issue is related to the topic “node”.
I2-bug
The node fails to follow expected behavior.
D0-easy
Can be fixed primarily by duplicating and adapting code by an intermediate coder.
labels
Aug 20, 2024
D0-easyCan be fixed primarily by duplicating and adapting code by an intermediate coder.I2-bugThe node fails to follow expected behavior.T0-nodeThis PR/Issue is related to the topic “node”.
In
justification_requests.rs
active_requests
are moved topending_requests
when sync peer disconnects:polkadot-sdk/substrate/client/network/sync/src/justification_requests.rs
Lines 117 to 121 in 946afaa
When receiving a response the code relies on the request being present in
active_requests
:polkadot-sdk/substrate/client/network/sync/src/justification_requests.rs
Lines 132 to 140 in 946afaa
We can hit a race condition if the response from the request-response protocol is delivered after the sync peer disconnect event from the notifications protocol.
The text was updated successfully, but these errors were encountered: