couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Adam Kocoloski (JIRA)" <j...@apache.org>
Subject [jira] Created: (COUCHDB-900) view manager should not block when creating new view groups
Date Wed, 29 Sep 2010 15:05:33 GMT
view manager should not block when creating new view groups
-----------------------------------------------------------

                 Key: COUCHDB-900
                 URL: https://issues.apache.org/jira/browse/COUCHDB-900
             Project: CouchDB
          Issue Type: Improvement
          Components: Database Core
    Affects Versions: 1.0.1
            Reporter: Adam Kocoloski
             Fix For: 1.1


On multiple occasions now I've had a messed-up .view file which takes forever to open as couch_file
scans backwards in 4k increments looking for a good header.  This prevents any view from being
accessed, since couch_view blocks waiting for the new view group to initialize.

We should take the same strategy as in couch_server and open the view group asynchronously.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message