You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@couchdb.apache.org by "Robert Newson (JIRA)" <ji...@apache.org> on 2012/07/30 17:57:35 UTC

[jira] [Resolved] (COUCHDB-1491) view cleanup can kill the viewserver handling process

     [ 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