You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@couchdb.apache.org by "Paul Joseph Davis (JIRA)" <ji...@apache.org> on 2010/09/29 17:53:33 UTC

[jira] Commented: (COUCHDB-900) view manager should not block when creating new view groups

    [ https://issues.apache.org/jira/browse/COUCHDB-900?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12916176#action_12916176 ] 

Paul Joseph Davis commented on COUCHDB-900:
-------------------------------------------

My brain debugger does not find fault with this patch.

> 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.