|
Creation of couchdb index on an already running network
#couchdb
#fabric-chaincode
What should I search for in the peer logs? Some sort of error? Because I can't see the index on the couchdb entries
What should I search for in the peer logs? Some sort of error? Because I can't see the index on the couchdb entries
|
By
Joao Antunes
· #8558
·
|
|
Creation of couchdb index on an already running network
#couchdb
#fabric-chaincode
If couchdb returned an error status code while processing the index, we do log the error but chaincode upgrade would succeed irrespective of that. I would suggest to search for the term index to see w
If couchdb returned an error status code while processing the index, we do log the error but chaincode upgrade would succeed irrespective of that. I would suggest to search for the term index to see w
|
By
Senthil Nathan
· #8559
·
|
|
Inconsistency of read result can be occurred when using StateCouchDB with cache
#cache
#couchdb
Hello. It has been passed 3 months after last comment. Sorry for bothering you, but I want to make things clear. The problem is that it can makes the error 'Inconsistent Response Payload from Differen
Hello. It has been passed 3 months after last comment. Sorry for bothering you, but I want to make things clear. The problem is that it can makes the error 'Inconsistent Response Payload from Differen
|
By
Jeehoon Lim
· #9170
·
|
|
Unable to Query data from Hyperledger Fabric
#couchdb
#fabric-chaincode
#hyperledger-fabric
Hi David, The chaincode is performing a select query on the CouchDB documents, and the fields set for filtering the results are indexed while installing and instantiating the chaincode. The single que
Hi David, The chaincode is performing a select query on the CouchDB documents, and the fields set for filtering the results are indexed while installing and instantiating the chaincode. The single que
|
By
chintanr97@...
· #9465
·
|
|
Unable to Query data from Hyperledger Fabric
#couchdb
#fabric-chaincode
#hyperledger-fabric
Adding workarounds such as longer timeouts will only prolong your pain. You must address the root cause of the slow query in CouchDB. Troubleshoot it in a separate CouchDB environment until you have f
Adding workarounds such as longer timeouts will only prolong your pain. You must address the root cause of the slow query in CouchDB. Troubleshoot it in a separate CouchDB environment until you have f
|
By
David Enyeart
· #9467
·
|
|
Unable to Query data from Hyperledger Fabric
#couchdb
#fabric-chaincode
#hyperledger-fabric
Your first log snippet showed CouchDB queries timing out after 35 seconds each. This is the core.yaml ledger.state.couchDBConfig.requestTimeout of 35s. It means that CouchDB is still processing the qu
Your first log snippet showed CouchDB queries timing out after 35 seconds each. This is the core.yaml ledger.state.couchDBConfig.requestTimeout of 35s. It means that CouchDB is still processing the qu
|
By
David Enyeart
· #9469
·
|
|
Unable to Query data from Hyperledger Fabric
#couchdb
#fabric-chaincode
#hyperledger-fabric
Hi David, That's correct! However, we found a minor fix in the chaincode and post that the latest error logs give following stack trace: ``` [34m2021-01-12 09:22:03.362 UTC [endorser] callChaincode ->
Hi David, That's correct! However, we found a minor fix in the chaincode and post that the latest error logs give following stack trace: ``` [34m2021-01-12 09:22:03.362 UTC [endorser] callChaincode ->
|
By
chintanr97@...
· #9474
·
|
|
Assistance for planning design of a chaincode
#couchdb
#fabric
#hyperledger-fabric
For any queries/reporting beyond simple JSON queries, the recommendation is to use a downstream purpose-built data service. Chaincode is optimized for transactions, not large queries. See an example o
For any queries/reporting beyond simple JSON queries, the recommendation is to use a downstream purpose-built data service. Chaincode is optimized for transactions, not large queries. See an example o
|
By
David Enyeart
· #9451
·
|
|
Unable to Query data from Hyperledger Fabric
#couchdb
#fabric-chaincode
#hyperledger-fabric
Thanks a lot David for your response. So digging deeper into the logs, we found that peer was returning below error: [chaincode] BuildQueryResponse -> ERRO Failed to get query result from iterator [ch
Thanks a lot David for your response. So digging deeper into the logs, we found that peer was returning below error: [chaincode] BuildQueryResponse -> ERRO Failed to get query result from iterator [ch
|
By
chintanr97@...
· #9468
·
|
|
Unable to Query data from Hyperledger Fabric
#couchdb
#fabric-chaincode
#hyperledger-fabric
I had a similar error and ended up being an issue with the high number of records (400k+) processed by the query. I am not sure whether this could be related to your case, but using indexes (and even
I had a similar error and ended up being an issue with the high number of records (400k+) processed by the query. I am not sure whether this could be related to your case, but using indexes (and even
|
By
cesare.valitutto@...
· #9485
·
|
|
Unable to Query data from Hyperledger Fabric
#couchdb
#fabric-chaincode
#hyperledger-fabric
I had a similar error and ended up being an issue with the high number of records (400k+) processed by the query. I am not sure whether this could be related to your case, but using indexes (and even
I had a similar error and ended up being an issue with the high number of records (400k+) processed by the query. I am not sure whether this could be related to your case, but using indexes (and even
|
By
cesare.valitutto@...
· #9486
·
|
|
Assistance for planning design of a chaincode
#couchdb
#fabric
#hyperledger-fabric
Hi Samyak Jain, Just to add on top of the approach David suggested. You can use the block event service to do much more like pushing important data to various systems (not just data stores). In the en
Hi Samyak Jain, Just to add on top of the approach David suggested. You can use the block event service to do much more like pushing important data to various systems (not just data stores). In the en
|
By
Tsvetan Georgiev
· #9461
·
|
|
Assistance for planning design of a chaincode
#couchdb
#fabric
#hyperledger-fabric
Hi Community, We are trying to model the traceability of an asset in hyperledger fabric. We've come up with several ideas but are unsure which one would be most efficient in terms of retrieving tracea
Hi Community, We are trying to model the traceability of an asset in hyperledger fabric. We've come up with several ideas but are unsure which one would be most efficient in terms of retrieving tracea
|
By
Samyak Jain | TraceX
· #9446
·
|
|
Unable to Query data from Hyperledger Fabric
#couchdb
#fabric-chaincode
#hyperledger-fabric
Hi, While trying to get data from hyperledger fabric, we are getting following error at client side "Error While Query ERROR:Error: error getting results for query response error: QUERY_STATE_NEXT fai
Hi, While trying to get data from hyperledger fabric, we are getting following error at client side "Error While Query ERROR:Error: error getting results for query response error: QUERY_STATE_NEXT fai
|
By
hiteshdutt05@...
· #9448
·
|
|
Unable to Query data from Hyperledger Fabric
#couchdb
#fabric-chaincode
#hyperledger-fabric
The query appears to be a JSON find query. These queries will be slow or time out if they do not utilize a well designed index against the JSON data. See the CouchDB tutorial for more details: https:/
The query appears to be a JSON find query. These queries will be slow or time out if they do not utilize a well designed index against the JSON data. See the CouchDB tutorial for more details: https:/
|
By
David Enyeart
· #9450
·
|
|
External chaincode build - package couchdb indexes
#fabric
#couchdb
I am building and deploying the chaincode externally on hyperledger fabric v2.3.2 and using couchdb as the state DB. I would appreciate if anyone could tell me how to package the couch DB indexes? Cou
I am building and deploying the chaincode externally on hyperledger fabric v2.3.2 and using couchdb as the state DB. I would appreciate if anyone could tell me how to package the couch DB indexes? Cou
|
By
...
· #10266
·
|
|
External chaincode build - package couchdb indexes
#fabric
#couchdb
I figure out the issue with this. If anyone encounter the same problem then this might help. Make sure that you're copying the META-INF folder in the external build and release scripts. You can refer
I figure out the issue with this. If anyone encounter the same problem then this might help. Make sure that you're copying the META-INF folder in the external build and release scripts. You can refer
|
By
...
· #10321
·
|
|
How to share an Asset that belongs to UserA in Org1 to UserB of Org2 instaed of asset transfer in Hyperledger fabric v1.4 ?
#fabric-chaincode
#couchdb
#fabric-questions
#hyperledger-fabric
There are two organizations A and B. User1 in Org1 has a document Doc1 in his private data store and he wants to share it with User2 of Org2 for a limited time like 3 days, the document shared should
There are two organizations A and B. User1 in Org1 has a document Doc1 in his private data store and he wants to share it with User2 of Org2 for a limited time like 3 days, the document shared should
|
By
...
· #8173
·
|
|
How to share an Asset that belongs to UserA in Org1 to UserB of Org2 instaed of asset transfer in Hyperledger fabric v1.4 ?
#fabric-chaincode
#couchdb
#fabric-questions
#hyperledger-fabric
Private data collections define which organization's peers are authorized to receive and store the private data. This is orthogonal to user based access control. You need to consider both aspects. So
Private data collections define which organization's peers are authorized to receive and store the private data. This is orthogonal to user based access control. You need to consider both aspects. So
|
By
David Enyeart
· #8174
·
|
|
#couchdb #fabric-chaincode #fabric-sdk-java
#couchdb
#fabric-chaincode
#fabric-sdk-java
I'm trying to create a CouchDB index while deploying the Java-based chain code. I was following the documentation from there: https://hyperledger-fabric.readthedocs.io/en/release-2.0/couchdb_tutorial.
I'm trying to create a CouchDB index while deploying the Java-based chain code. I was following the documentation from there: https://hyperledger-fabric.readthedocs.io/en/release-2.0/couchdb_tutorial.
|
By
...
· #8204
·
|