-
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-15389] Fix private data dissemination
Endorsing peer was not honoring maxPeerCount for private data dissemination due to the addition of the spraying logic for balancing selected peers for disseminiation. There was a chance that peers chosen from the remaining count up to maxPeerCount could overlap with the already selected peers for dissemination from the spray, causing the dissemination plan to be incomplete. This CR ensures that once a peer has been selected to disseminate private data to, it can not be selected again when computing the dissemination plan for a particular tx. Also added logging around dissemination for debugging purposes. Change-Id: Ib31c37b036363787718dba74e7e90a7764afe7fb Signed-off-by: Danny Cao <dcao@us.ibm.com>
- Loading branch information
1 parent
ffa3335
commit b97ca73
Showing
4 changed files
with
165 additions
and
46 deletions.
There are no files selected for viewing
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
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.