rnewson opened a new pull request, #4199: URL: https://github.com/apache/couchdb/pull/4199
We've observed `couch_db:incref/1` being called with `undefined` under load. On examination of couch_server it seems we unlock an `#entry` unilaterally, which can leave an `#entry` where lock is `unlocked` but `db` is not yet populated, and hence the value based to `incref` is the default for the record, which is `undefined`. This patch modifies close_db_if_idle to only proceed if it finds an unlocked #entry. -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
