[network/notifications] Connection to a disabled peer with an expired back-off is backed off again #1826
Labels
I2-bug
The node fails to follow expected behavior.
I10-unconfirmed
Issue might be valid, but it's not yet known.
In
peerset_report_connect()
the disabled peer with a non-expired back-off is handled here:polkadot-sdk/substrate/client/network/src/protocol/notifications/behaviour.rs
Line 592 in 76724ce
The next match arm therefore handles the case of the expired back-off:
polkadot-sdk/substrate/client/network/src/protocol/notifications/behaviour.rs
Line 623 in 76724ce
Nevertheless, it's assumed that
backoff_untill
can beSome
herepolkadot-sdk/substrate/client/network/src/protocol/notifications/behaviour.rs
Lines 654 to 661 in 76724ce
base
timer deadline is installed and delays the connection, even though the back-off has already expired once. (It's effectively introduced again.)Originally discussed in #1563 (comment).
The text was updated successfully, but these errors were encountered: