dynamite-ready edited a comment on issue #603: Error 500 when creating a db 
below quorum
URL: https://github.com/apache/couchdb/issues/603#issuecomment-450530938
 
 
   I experience the same issue as the OP on a single node, when `cluster.n=1` 
has been set in the config.
   I've been trying to post a document to a newly created user db (with the 
Couch Per User feature).
   
   Typical log output look like this:
   
   ```
   [notice] 2018-12-30T00:18:28.028842Z [email protected] <0.8860.0> 
4cf3f1a0e6 localhost:5984 127.0.0.1 admin POST /userdb-*** 404 ok 17
   [debug] 2018-12-30T00:18:29.031705Z [email protected] <0.8872.0> 
8f64a178af no record of user admin
   [notice] 2018-12-30T00:18:29.032887Z [email protected] <0.8872.0> 
8f64a178af localhost:5984 127.0.0.1 admin POST /userdb-**** 404 ok 2
   [debug] 2018-12-30T00:18:31.036855Z [email protected] <0.9002.0> 
6745f08438 no record of user admin
   [notice] 2018-12-30T00:18:31.038036Z [email protected] <0.9002.0> 
6745f08438 localhost:5984 127.0.0.1 admin POST /userdb-**** 404 ok 2
   [debug] 2018-12-30T00:18:35.041849Z [email protected] <0.9086.0> 
c3579d0751 no record of user admin
   [notice] 2018-12-30T00:18:35.047631Z [email protected] <0.9086.0> 
c3579d0751 localhost:5984 127.0.0.1 admin POST /userdb-**** 404 ok 6
   [debug] 2018-12-30T00:18:43.054896Z [email protected] <0.9199.0> 
6a15101a52 no record of user admin
   [notice] 2018-12-30T00:18:43.056778Z [email protected] <0.9199.0> 
6a15101a52 localhost:5984 127.0.0.1 admin POST /userdb-**** 404 ok 3
   ```
   
   Where posts to `/userdb-****` are all the same recently created DB. The 5 
calls are made rough 4 seconds apart, in a 20 second interval, and by that 
time, `/userdb-****` had definitely been created.
   
   It happens somewhat inconsistently too, which is surprising, because if 
`cluster.n=1`, I shouldn't have to worry about the chance of the POST going to 
a non existent node, isn't that right?

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

Reply via email to