MVCC_READ_CONFLICT error when update the fabric chaincode with composer

后端 未结 1 815
梦毁少年i
梦毁少年i 2021-01-28 11:33

I use composer deployed to the fabric network with five peers. Today when i try to update the fabric chaincode with composer bna file. but one peer return error:



        
1条回答
  •  时光说笑
    2021-01-28 12:09

    What has happened is you have a state fork and as such peers are going to disagree (and they disagree on the version of chaincode to use). Fabric 1.4 (not sure which micro version) introduced commands to reset peers back to previous block numbers which you could try to use to reset your problem peer(s) back to a point where they were in agreement and let them pull the blocks from the orderer again. If not, then you will have to remove that problem peer(s) from your network and create new peers and join them to the channel.

    0 讨论(0)
提交回复
热议问题