Creation of couchdb index on an already running network #couchdb #fabric-chaincode


Joao Antunes
 

Hi,

I currently trying to add a new index to my 1.4 network.

I have the folders correctly set too. When  I update the chaincode with the new index folder I can see that my peers have the package correctly but I can't see the index in the couchdb of my peer. Am I missing something?

Thank you.


Senthil Nathan
 

Do you have the peer logs?

Regards,
Senthil


On Fri, Jun 19, 2020 at 5:22 PM Joao Antunes <joao.antunes@...> wrote:

Hi,

I currently trying to add a new index to my 1.4 network.

I have the folders correctly set too. When  I update the chaincode with the new index folder I can see that my peers have the package correctly but I can't see the index in the couchdb of my peer. Am I missing something?

Thank you.


Joao Antunes
 

What should I search for in the peer logs?

Some sort of error?

Because I can't see the index on the couchdb entries


Senthil Nathan
 

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 what is present in the log. If nothing related to index is logged, it is better to check the chaincode package to see whether the index is placed at the correct location.

Regards,
Senthil

On Fri, 19 Jun, 2020, 5:47 pm Joao Antunes, <joao.antunes@...> wrote:

What should I search for in the peer logs?

Some sort of error?

Because I can't see the index on the couchdb entries