-
Notifications
You must be signed in to change notification settings - Fork 506
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FAB-5520] Make Broadcast select a random orderer
The implementation of SendTransaction sends the transaction to all ordering service nodes. There is no reason to send the same transaction to all ordering service nodes. This change set makes a random ordering service instance be selected instead of sending to everyone. In case the selected (random) orderer returns a bad status, the code now tries to contact other endpoints until it succeeds or all have been tried. Change-Id: Idf5c8be69c1f90c62c7ebc164531fa740e670843 Signed-off-by: yacovm <yacovm@il.ibm.com>
- Loading branch information
Showing
5 changed files
with
130 additions
and
64 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
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