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


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

        

Reply via email to