couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Filipe Manana (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (COUCHDB-1255) Deleting source db in continuous filtered replication crashes couchdb and prevents restart
Date Sat, 20 Aug 2011 07:03:27 GMT

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

Filipe Manana closed COUCHDB-1255.
----------------------------------

       Resolution: Duplicate
    Fix Version/s: 1.1.1

Hi,

Should no longer happen in the branch 1.1.x. You'll get an error message like the following
in the log/consoleIf:

[error] [<0.104.0>] Replication manager, error processing document `testrep1`: Could
not open source database `dba`: {db_not_found,<<"dba">>}

If after trying out the patch still happens, please reopen this ticket.


> Deleting source db in continuous filtered replication crashes couchdb and prevents restart
> ------------------------------------------------------------------------------------------
>
>                 Key: COUCHDB-1255
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-1255
>             Project: CouchDB
>          Issue Type: Bug
>    Affects Versions: 1.1
>         Environment: OSX
>            Reporter: Simon Robson
>             Fix For: 1.1.1
>
>
> Steps to reproduce:
> curl -X PUT http://user:pass@localhost:5984/dba
> curl -X PUT http://user:pass@localhost:5984/dbb
> curl -X PUT http://user:pass@localhost:5984/dba/_design/testapp  -d '{"filters": {"rep_filter":
"function(doc, req) {return true}"}}' -H "Content-Type: application/json"
> curl -X POST http://user:pass@localhost:5984/_replicator  -d '{"_id": "testrep1", "source":
"dba", "target": "http://user:pass@localhost:5984/dbb", "continuous": true, "create_target":
true, "filter": "testapp/rep_filter"}' -H "Content-Type: application/json"
> # wait long enough for first replication checkpoint
> sleep 10
> curl -X DELETE http://user:pass@localhost:5984/dba
> At this point couch crashes and can't be restarted.
> These issues are related:
> https://issues.apache.org/jira/browse/COUCHDB-1233
> https://issues.apache.org/jira/browse/COUCHDB-1199
> Maybe fixed in 1.1.1 by patch in above issue, but I don't have access to confirm.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message