From dev-return-22755-apmail-couchdb-dev-archive=couchdb.apache.org@couchdb.apache.org Mon Jul 30 15:57:36 2012 Return-Path: X-Original-To: apmail-couchdb-dev-archive@www.apache.org Delivered-To: apmail-couchdb-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 1DBAEC598 for ; Mon, 30 Jul 2012 15:57:36 +0000 (UTC) Received: (qmail 89340 invoked by uid 500); 30 Jul 2012 15:57:35 -0000 Delivered-To: apmail-couchdb-dev-archive@couchdb.apache.org Received: (qmail 89255 invoked by uid 500); 30 Jul 2012 15:57:35 -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 89168 invoked by uid 99); 30 Jul 2012 15:57:35 -0000 Received: from issues-vm.apache.org (HELO issues-vm) (140.211.11.160) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 30 Jul 2012 15:57:35 +0000 Received: from isssues-vm.apache.org (localhost [127.0.0.1]) by issues-vm (Postfix) with ESMTP id 2965C14285B for ; Mon, 30 Jul 2012 15:57:35 +0000 (UTC) Date: Mon, 30 Jul 2012 15:57:35 +0000 (UTC) From: "Robert Newson (JIRA)" To: dev@couchdb.apache.org Message-ID: <1197445032.116424.1343663855171.JavaMail.jiratomcat@issues-vm> In-Reply-To: <420614750.36201.1338843983220.JavaMail.jiratomcat@issues-vm> Subject: [jira] [Resolved] (COUCHDB-1491) view cleanup can kill the viewserver handling process MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/COUCHDB-1491?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Robert Newson resolved COUCHDB-1491. ------------------------------------ Resolution: Fixed It was a simple bad pattern match; case ets:lookup(?BY_PID, Pid) of - [{Pid, DbName, Sig}] -> + [{Pid, {DbName, Sig}}] -> > view cleanup can kill the viewserver handling process > ----------------------------------------------------- > > Key: COUCHDB-1491 > URL: https://issues.apache.org/jira/browse/COUCHDB-1491 > Project: CouchDB > Issue Type: Bug > Components: View Server Support > Reporter: Ronny Pfannschmidt > Assignee: Robert Newson > Priority: Blocker > Fix For: 1.3 > > Attachments: testcase.py > > > basic steps to create the issue on a empty db > 1. save a few docs > 2. create a ddoc, triger view update > 3. delete the ddoc > 4. view cleanup > 6. push ddoc again > 7. view update -> {"error":"noproc","reason":"{gen_server,call,[<0.485.0>,{get_state,200003},infinity]}"} -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira