style95 commented on issue #3029: couchdb clustering not working
URL: 
https://github.com/apache/incubator-openwhisk/issues/3029#issuecomment-348073217
 
 
   I have discussed with @csantanapr.
   Actually there is limitation in #2810.
   
   With that change, we can't setup multiple couchdb nodes on a single machine.
   This limitation comes from erlang epmd port.
   
   It is briefly explained here: 
https://github.com/apache/incubator-openwhisk/pull/2810#issuecomment-343837080
   
   When couchdb form a cluster it counts on erlang epmd to find other nodes.
   All nodes will try to find each other with same port(`4369`).
   Since it is not possible to differentiate this port for each nodes, we can't 
run multiple nodes on a single machine.
   
   One idea is, make all nodes communicate with each other using container IP.
   If they are on same machine, they will be in the same docker network and 
reachable to each other.
   But I am not sure if it works, and it requires many dirty changes.
   
   So @cbickel and I tried to take current approach.
   
   @csantanapr advised me to clearly write down current situation in README.
   I should expect many people might be confused.
   I will work on it.
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to