couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "andrew henderson (JIRA)" <>
Subject [jira] [Created] (COUCHDB-1199) Doc in _replicator db missing when using filter property
Date Sat, 18 Jun 2011 23:20:47 GMT
Doc in _replicator db missing when using filter property

                 Key: COUCHDB-1199
             Project: CouchDB
          Issue Type: Bug
          Components: Replication
    Affects Versions: 1.1
         Environment: Ubuntu 10.10
            Reporter: andrew henderson

Scenario1 below works as expected, Scenario2 fails.

curl -X POST '' -H "Content-Type: application/json" -d {\"_id\":\"test1_to_test2\"\,\"source\":\"my_culture\"\,\"target\":\"http:\/\/\/test2\"\,\"create_target\":\true\}{"ok":true,"id":"test1_to_test2","rev":"1-df297eda4880633bc0442590724014ff"}
Doc is created in _replicator
Replication completes successfully

curl -X POST '' -H "Content-Type: application/json" -d {\"_id\":\"test1_to_test2\"\,\"source\":\"my_culture\"\,\"target\":\"http:\/\/\/test2\"\,\"create_target\":\true\,\"filter\":\"http:\/\/\/test2\/my_culture\/profile\/app_ddocs\"}
Doc is not created in _replicator (in spite of 'ok' response above)
No replication occurs.

Now, I am not sure whether I got the right syntax in the filter property since I could find
no documentation for it. In particular, whether the filter should be in the source db or _replicator.
And do we use a full URL as above or just ddoc/filter name? The filter documented in Scenario2
does exist in source db.

In any case, the doc in _replicator ought not to be getting lost as does happen.

This message is automatically generated by JIRA.
For more information on JIRA, see:


View raw message