commit | 54890e1b8f1d44225ed559ec53f7bf1f4402435b | [log] [tgz] |
---|---|---|
author | Robert Newson <rnewson@apache.org> | Wed Nov 23 15:20:11 2016 +0000 |
committer | Robert Newson <rnewson@apache.org> | Wed Nov 23 15:20:11 2016 +0000 |
tree | 59e67ad0ff9f65c875c8a03a5964bcbda1c3caec | |
parent | ac698562b5e50711ecf35a04e09713d703d917ce [diff] |
Handle open_result message that arrives after the delete Opening a database is asynchronous, therefore it's possible for the database to have been deleted before the open is complete. The open_result code assumes this doesn't happen, so when it does, couch_server crashes, taking the couch_dbs ETS table with it. Explicitly handle the case and keep on keeping on. COUCHDB-3241