Description
Mike Leddy recently reported this issue in the users mailing list:
The attached patch is the simplest solution I can think of - keeping the database open until the view compaction finishes.
The patch includes a test case.
It will need to be updated after Paul's view index refactoring (COUCHDB-1270).