fabric
fabric copied to clipboard
Add CouchDB index support to implicit private data collections
Current Status
Defining a CouchDB index in a chaincode for an implicit private data collection such as:
META-INF/statedb/couchdb/collections/_implicit_org_Org1MSP/indexes
results in error:
[privacyenabledstate] HandleChaincodeDeploy -> ERRO 4e9 Error processing index for chaincode [marblesp]: cannot create an index for an undefined collection=[_implicit_org_Org1MSP]
Expected
This story has two variants:
- In the chaincode definition, define a CouchDB index for a specific named organization's implicit private data collection
- In the chaincode definition, define a CouchDB index for all organization's implicit private data collections
Acceptance
- Index created for named organization upon chaincode deployment.
- Index created for each organization upon creation of their implicit private data collection state database (occurs upon first write to an org's collection).
Solution
No response
Please let us know if you plan to work on this.
No response
@bkiran6398 are you working on it?
@bkiran6398 are you working on it?
Hello @solo-daemon , Yes I am working on this feature.