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 2018/10/11 18:30:29 UTC

[GitHub] wohali commented on issue #338: Fix ambiguity in documentation on shards and replicas

wohali commented on issue #338: Fix ambiguity in documentation on shards and replicas
URL: https://github.com/apache/couchdb-documentation/pull/338#issuecomment-429069325
 
 
   This isn't accurate either, unfortunately. I think we need a more complete rewrite here.
   
   If you have 4 copies of a shard, `n=4`, then you can still have 100 nodes in your cluster - but that specific shard replica will live at most on 4 of those nodes. If you have `q=8` on top of your `n=4`, then you will use a maximum of 8 x 4 = 32 nodes in a 100 node cluster. Again, this is fine - if you had 4 databases with `q=8` and `n=4` you'd have at least one shard replica on every node, with some nodes having 2 replicas.

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services