couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nikolai Teofilov (JIRA)" <j...@apache.org>
Subject [jira] Created: (COUCHDB-703) doc_ids replicate always the same document list
Date Tue, 16 Mar 2010 22:31:04 GMT
doc_ids  replicate always the same document list 
-------------------------------------------------

                 Key: COUCHDB-703
                 URL: https://issues.apache.org/jira/browse/COUCHDB-703
             Project: CouchDB
          Issue Type: Bug
          Components: Replication
    Affects Versions: 0.11
         Environment: windows xp and mac osx
            Reporter: Nikolai Teofilov
             Fix For: 0.11


curl -X PUT http://192.168.10.239:5984/test

curl -X PUT http://192.168.10.239/test/doc1 -d '{}'
curl -X PUT http://192.168.10.239/test/doc2 -d '{}'
curl -X PUT http://192.168.10.239/test/doc3 -d '{}'

curl -X PUT http://192.168.10.239/test-replica 


curl -X POST http://127.0.0.1:5984/_replicate -d '{"source":"test","target":"test-replica",
"doc_ids": ["doc1", "doc2", "doc3"]}'

replicate all documents. three documents.

curl -X DELETE http://127.0.0.1:5984/test-replica


create again the database:

curl -X PUT http://127.0.0.1:5984/test-replica

replicate just two of the documents:

curl -X POST http://127.0.0.1:5984/_replicate -d '{"source":"test","target":"test-replica",
"doc_ids": ["doc1", "doc2"]}'

will still replicate the all three documents.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message