[ 
https://issues.apache.org/jira/browse/COUCHDB-900?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Adam Kocoloski updated COUCHDB-900:
-----------------------------------

    Attachment: 0001-non-blocking-creation-of-new-view-groups-COUCHDB-900.patch

First attempt at a patch.  Tests pass.

> 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
>
>         Attachments: 
> 0001-non-blocking-creation-of-new-view-groups-COUCHDB-900.patch
>
>
> 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.

Reply via email to