Skip to content
This repository was archived by the owner on May 25, 2021. It is now read-only.

fix: make sure cluster setups do not exceed n=3 by default#14

Merged
asfgit merged 1 commit intomasterfrom
fix/node-count
Jul 30, 2017
Merged

fix: make sure cluster setups do not exceed n=3 by default#14
asfgit merged 1 commit intomasterfrom
fix/node-count

Conversation

@janl
Copy link
Copy Markdown
Member

@janl janl commented Jul 30, 2017

Single node setups want an n=1 setting, but that is the only
time the number of nodes and the number of replicas is linked.

In larger clusters, the values should not be the same. This
patch ensures that for clusters >3 nodes, we do not have to
tell the users to set node_count to 3 in the _cluster_setup
API.

More context for this in https://issues.apache.org/jira/browse/COUCHDB-2594

@wohali
Copy link
Copy Markdown
Member

wohali commented Jul 30, 2017

💯% agree, +1

@wohali
Copy link
Copy Markdown
Member

wohali commented Jul 30, 2017

Going to move ahead and merge this since @janl is out for the night. Thanks Jan!

Single node setups want an n=1 setting, but that is the only
time the number of nodes and the number of replicas is linked.

In larger clusters, the values should not be the same. This
patch ensures that for clusters >3 nodes, we do not have to
tell the users to set node_count to 3 in the _cluster_setup
API.

More context for this in https://issues.apache.org/jira/browse/COUCHDB-2594
@asfgit asfgit merged commit 68545af into master Jul 30, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants