nickva edited a comment on pull request #3050: URL: https://github.com/apache/couchdb/pull/3050#issuecomment-666775908
Updated approach: the idea is that we have different behaviors for interactive requests vs background tasks. Interactive requests should be able to auto-reopen to a new db instance if it was re-created. Background tasks, like indexers, for example, would want to handle the `database_doest_not_exist` errors, since they don't want to keep holding on to a stale database handle that will continuously be reopen when doing any transactions. ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org