Re: Error 500 when creating db without quorum

2017-06-20 Thread Carlos Alonso
uot; <user@couchdb.apache.org> > Sent: Monday, 19 June, 2017 1:23:41 PM > Subject: Re: Error 500 when creating db without quorum > > Another case of the AP nature of the system. > > The create database operation succeeds if at least one node performs the > action (which is to cre

Re: Error 500 when creating db without quorum

2017-06-19 Thread Joan Touzet
- From: "Robert Samuel Newson" <rnew...@apache.org> To: "user" <user@couchdb.apache.org> Sent: Monday, 19 June, 2017 1:23:41 PM Subject: Re: Error 500 when creating db without quorum Another case of the AP nature of the system. The create database operation succee

Re: Error 500 when creating db without quorum

2017-06-19 Thread Robert Samuel Newson
Another case of the AP nature of the system. The create database operation succeeds if at least one node performs the action (which is to create a document in the non-clustered _dbs database). The 500 is because the operation timed out waiting for a majority of nodes to report success, I am

Error 500 when creating db without quorum

2017-06-19 Thread Carlos Alonso
Hi guys, I've just seen the following scenario and I'd like to have your input on it. Running a CouchDB 2.0.0 cluster of 4 nodes, 2 of them being down, if I try to create a new database I get an error 500 from the server but unexpectedly, the database is created!! Also, depending on the