This repository has been archived by the owner on Nov 15, 2023. It is now read-only.
Connection keep alive mechanism broken on key changes #3038
Labels
I3-bug
Fails to follow expected behavior.
It seems that we keep track of connection requests by
AuthorityDiscoveryId
in validator discovery and we issue add/remove to peer set requests based on that here. Problem is, if an authority changed its key at the session boundary, then differentAuthorityDiscoveryId
s would match to the samePeerId
, resulting in the connection to be dropped, although it should be maintained.This happens as the same
PeerId
/address would be added and removed immediately afterwards.@ordian is this analysis correct or am I missing something?
The text was updated successfully, but these errors were encountered: