-
Notifications
You must be signed in to change notification settings - Fork 8.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FAB-17675] Prevent gossip probe from registering as a connection
Part of FAB-17672: Gossip bootstrap peer and anchor peer connection establishments are a two step process: I) Connect to the remote endpoint, and figure out its organization association II) Connect to the remote endpoint once again, this time sending membership information according to what it is eligible to. Unfortunately, if the responding peer connects to the initiator peer at the same time, the connection of (1) will be overwritten by the connection (gossip keeps a single connection among every pair of peers) from the responder peer and the initiator peer will consider the responder peer as dead. In production, where peers run for a long time and constnatly retry, this is not a problem. However, in integration tests that expect data to be disseminated in a timely manner, this might cause flakes. this change set adds a flag that indicates this connection is not a long lasting one, and thus there is no point to add it to the connection store. Change-Id: Id8f4ee12145748527233301356af830c3401ee02 Signed-off-by: yacovm <yacovm@il.ibm.com>
- Loading branch information
Showing
4 changed files
with
153 additions
and
129 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.