fabric
fabric copied to clipboard
Error:Failed to execute transaction or query
Description
commit level: master branch from Gerrit commit f1b6762f569852f1fa75bd9a280507c3178fbe6d
issue: 4-peer network with PBFT-batch, security and privacy enabled chaincode: example02 transactions generated from SoapUI to query the same key, say a, repeatedly with 1 thread only, no error message with multi-threads, say 100, see the following message frequently:
14:16:17.153 [rest] processChaincodeInvokeOrQuery -> ERRO 5483 Error when querying chaincode: Error:Failed to execute transaction or query(Error sending QUERY: txid:ca978112ca1bbdcafac231b39a23dc4da786eff8147c4e72b9807785afee48bb exists)
The same error message shown on the log if use jMeter.
Describe How to Reproduce
- use local_fabric.sh to setup a 4-peer network pbft-batch, security and privacy enabled
- use and application, e.g., SoapUI or jMeter, to generate query with multi-thread
- check logs for the error message.
http://gerrit.hyperledger.org/r/313 makes TXIDs no longer unique but one side effect of this is concurrent queries will fail
You should deploy chaincode with security and privacy.
@scorpiovn : security and privacy enabled on peers. Seems this is a new issue after merge http://gerrit.hyperledger.org/r/313 patchset. @muralisrini do you have any inputs on this?
@dongmingh we've migrated to using Jira for issue tracking, please open an issue there and close this one. You'll need a Linux Foundation ID to login. Thanks
Is this issue still open? I'm hitting the same problem in 0.6. Can anyone point me to the related JIRA issue please?