Return-Path: Delivered-To: apmail-couchdb-dev-archive@www.apache.org Received: (qmail 14455 invoked from network); 29 Sep 2010 15:54:01 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 29 Sep 2010 15:54:01 -0000 Received: (qmail 32104 invoked by uid 500); 29 Sep 2010 15:54:00 -0000 Delivered-To: apmail-couchdb-dev-archive@couchdb.apache.org Received: (qmail 31769 invoked by uid 500); 29 Sep 2010 15:53:58 -0000 Mailing-List: contact dev-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@couchdb.apache.org Delivered-To: mailing list dev@couchdb.apache.org Received: (qmail 31761 invoked by uid 99); 29 Sep 2010 15:53:57 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 29 Sep 2010 15:53:57 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 29 Sep 2010 15:53:55 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o8TFrXsr020920 for ; Wed, 29 Sep 2010 15:53:33 GMT Message-ID: <12556098.463641285775613160.JavaMail.jira@thor> Date: Wed, 29 Sep 2010 11:53:33 -0400 (EDT) From: "Paul Joseph Davis (JIRA)" To: dev@couchdb.apache.org Subject: [jira] Commented: (COUCHDB-900) view manager should not block when creating new view groups In-Reply-To: <27606051.463231285772733561.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ 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.