You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by GitBox <gi...@apache.org> on 2020/02/19 12:42:19 UTC

[GitHub] [couchdb] janl commented on issue #2557: Unexpected cluster state for single node config

janl commented on issue #2557: Unexpected cluster state for single node config
URL: https://github.com/apache/couchdb/issues/2557#issuecomment-588207133
 
 
   Good find! Agreed that this is a little confusing. CouchDB internals don’t really care about cluster vs. single node. A single node just happens to be a cluster of one, hence the confusion. The introduction of the new setting requires one more clause in this function:
   
   https://github.com/apache/couchdb/blob/3f64ef2b98796ba8e0391fb80483502fdafc6a8c/src/setup/src/setup_httpd.erl#L30-L54
   
   It should be easy enough to add, using `config:get_boolean()` like here https://github.com/apache/couchdb/blob/3f64ef2b98796ba8e0391fb80483502fdafc6a8c/src/setup/src/setup_sup.erl#L38
   
   @gesellix wanna try a PR?

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


With regards,
Apache Git Services