Relative Content

Tag Archive for couchdb

CouchDB cluster experiences 60s delay when a node is the last survivor, can this be avoided?

In CouchDB3 clusters provide horizontal scaling as well as durability, In attempting to take advantage of the durability, in a 3 node cluster if 2 of the 3 go down (when sharding is setup so that all 3 nodes have all the data) the remaining node will wait until a consistent 60s timeout has elapsed before it will return the data it has. Even if you anticipate this having been monitoring with _up, and attempt to use ?r=1 (or 0?) it still refuses to return any data until the timeout elapses.