-
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-9516] Split cclifecycle update to 2 phases
The lifecycle object that caches the deployed chaincodes of the peer receives a notification from the ledger before the install of the chaincode actually happens. The install might fail, and then gossip would publish false information. For this - the ledger listener separated the notification into 2 steps: 1. Notify about the deployment, which happens just before the install 2. Notify whether the deployment was successful or not, which is only relevant for install. This change set moves the state update of the lifecycle object to the DeployDone() phase (the 2nd phase from above) Change-Id: I495f73278ce4e7d017085a6df4043794bc7005a7 Signed-off-by: yacovm <[email protected]>
- Loading branch information
Showing
12 changed files
with
604 additions
and
636 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
Oops, something went wrong.