github.com/hyperledger/fabric/core/ledger/util/couchdb.(*CouchDatabase).BatchRetrieveDocumentMetadata /opt/gopath/src/github.com/hyperledger/fabric/core/ledger/util/couchdb/couchdb.go:1484 github.com/hyperledger/fabric/core/ledger/kvledger/txmgmt/statedb/statecouchdb.(*subNsMetadataRetriever).execute /opt/gopath/src/github.com/hyperledger/fabric/core/ledger/kvledger/txmgmt/statedb/statecouchdb/metadata_retrieval.go:92 github.com/hyperledger/fabric/core/ledger/kvledger/txmgmt/statedb/statecouchdb.executeBatches /opt/gopath/src/github.com/hyperledger/fabric/core/ledger/kvledger/txmgmt/statedb/statecouchdb/batch_util.go:26 github.com/hyperledger/fabric/core/ledger/kvledger/txmgmt/statedb/statecouchdb.retrieveNsMetadata /opt/gopath/src/github.com/hyperledger/fabric/core/ledger/kvledger/txmgmt/statedb/statecouchdb/metadata_retrieval.go:67 github.com/hyperledger/fabric/core/ledger/kvledger/txmgmt/statedb/statecouchdb.(*nsMetadataRetriever).execute /opt/gopath/src/github.com/hyperledger/fabric/core/ledger/kvledger/txmgmt/statedb/statecouchdb/metadata_retrieval.go:80 github.com/hyperledger/fabric/core/ledger/kvledger/txmgmt/statedb/statecouchdb.executeBatches.func1 /opt/gopath/src/github.com/hyperledger/fabric/core/ledger/kvledger/txmgmt/statedb/statecouchdb/batch_util.go:35 runtime.goexit /opt/go/src/runtime/asm_amd64.s:1333 commit failed github.com/hyperledger/fabric/gossip/privdata.(*coordinator).StoreBlock /opt/gopath/src/github.com/hyperledger/fabric/gossip/privdata/coordinator.go:284 github.com/hyperledger/fabric/gossip/state.(*GossipStateProviderImpl).commitBlock /opt/gopath/src/github.com/hyperledger/fabric/gossip/state/state.go:810 github.com/hyperledger/fabric/gossip/state.(*GossipStateProviderImpl).deliverPayloads /opt/gopath/src/github.com/hyperledger/fabric/gossip/state/state.go:598 runtime.goexit /opt/go/src/runtime/asm_amd64.s:1333 github.com/hyperledger/fabric/gossip/state.(*GossipStateProviderImpl).commitBlock /opt/gopath/src/github.com/hyperledger/fabric/gossip/state/state.go:811 github.com/hyperledger/fabric/gossip/state.(*GossipStateProviderImpl).deliverPayloads /opt/gopath/src/github.com/hyperledger/fabric/gossip/state/state.go:598 runtime.goexit /opt/go/src/runtime/asm_amd64.s:1333)
During block commit, couchdb somehow gets timeout but doesn't accept it as a possible response, then peer fails to process this response and crash. Peer should handle the couchdb error properly.
= Possible Solution : 1. Disk I/O problem can causes abnormal response from couchdb. 2. Try to increase the couchdb response timeout.