THIS IS A READ-ONLY historic repository. Current development is at https://gerrit.hyperledger.org/r/#/admin/projects/fabric . pull requests not accepted
Chaincode runs as a seperate docker container. After it has been successfully deployed, it could not connect to peer anymore after peer had been restarted, unless the chaincode is re-deployed.
When using docker inspect to find the status differences, I've found that {{ .NetworkSettings.Networks.host.EndpointID }} has been set, while after restarting peer node, that field is empty. It's reasonable to enhance the connection management between chaincode and peer, such that the chaincode is not needed to re-deploy whenever peer had been restarted.
Description
Chaincode runs as a seperate docker container. After it has been successfully deployed, it could not connect to peer anymore after peer had been restarted, unless the chaincode is re-deployed.
Describe How to Reproduce
When using
docker inspect
to find the status differences, I've found that{{ .NetworkSettings.Networks.host.EndpointID }}
has been set, while after restarting peer node, that field is empty. It's reasonable to enhance the connection management between chaincode and peer, such that the chaincode is not needed to re-deploy whenever peer had been restarted.