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 2021/11/10 02:38:37 UTC

[GitHub] [couchdb] kocolosk opened a new issue #3823: Deleting _users renders instance unusable

kocolosk opened a new issue #3823:
URL: https://github.com/apache/couchdb/issues/3823


   ## Description
   
   There is a bug on main right now where the _users DB cannot be recreated once it has been deleted, and the cluster is rendered completely inoperable until CouchDB restarts. That's the reason for d8eea48 (and, I believe, for Paul's exclusion of other tests in that module). I've called that out separately so we can revert that commit once the fix is found.
   
   NB: the `_users` DB does get recreated automatically when you restart the instance, so this issue is maybe less severe than it would otherwise seem.
   
   ## Steps to Reproduce
   
   1. Start an instance building from `main` i.e. 3e05ca5
   2. Delete `_users` via the API
   3. Try to make any request e.g. `_all_dbs` with server admin credentials. You'll see a 404 response
   
   ## Expected Behaviour
   
   Requests w/ server admin credentials should not be dependent on `_users`, and in particular a server admin should be able to recreate the `_users` DB.
   
   ## Additional Context
   
   Originally reported in #3818


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@couchdb.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org