Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix timeout in couchdb_views_test for couchdb_1283
I believe the race here was that the query could return before the actual index updating process exited. Then it was just a race to creating a database before the monitor is released. If we do end up creating the database before the monitor is released then the database we want to have closed ends up being ignored as its not idle. The second two created databases then don't end up forcing the database from couch_server's LRU which leads us to the timeout waiting for DatabaseMonRef to fire. Fixes #655
- Loading branch information