Uploaded image for project: 'CouchDB'
  1. CouchDB
  2. COUCHDB-703

doc_ids replicate always the same document list

    XMLWordPrintableJSON

Details

    Description

      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.

      Attachments

        1. couchdb-703-trunk.patch
          0.8 kB
          Filipe David Borba Manana
        2. couchdb-703-regression-test-trunk.patch
          3 kB
          Filipe David Borba Manana

        Activity

          People

            Unassigned Unassigned
            koleto Nikolai Teofilov
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: