-
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.
Complete chaincode execution on stream termination
When the chaincode stream terminated with an error, ProcessStream would return an error but did not do anything to release go routines waiting for chaincode execution to complete. This would delay the release of the transaction simulator lock until the execute timeout occurred. This commit provides a "streamDone" signal back to the execute loop that is used to complete execution when the chaincode stream terminates. FAB-16610 #done Change-Id: I9ba0b3549015a49ae40e8e10b5326e8a8681d128 Signed-off-by: Matthew Sykes <sykesmat@us.ibm.com>
- Loading branch information
Showing
3 changed files
with
62 additions
and
7 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