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

Filipe Manana updated COUCHDB-631:
----------------------------------

    Attachment: couchdb-631-rep-doc-ids-trunk-git.patch

@Chris

Here it goes, implementation without using at all the _changes API and db 
sequence update numbers.

It just fetches the latest rev of the docs, specified in the doc_ids Json 
field, and sends them to the target DB.

Let me know if this is what you had in mind and if there's something in the 
code that needs to be enhanced.

PS: use git apply patch :)

cheers

> Replication by doc Ids
> ----------------------
>
>                 Key: COUCHDB-631
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-631
>             Project: CouchDB
>          Issue Type: New Feature
>          Components: Replication
>         Environment: trunk
>            Reporter: Filipe Manana
>            Assignee: Chris Anderson
>            Priority: Minor
>         Attachments: couchdb-631-rep-doc-ids-trunk-git.patch, 
> replication-by-doc-ids-alternative-impl-2_trunk.patch, 
> replication-by-doc-ids-alternative-impl_trunk.patch, 
> replication-by-doc-ids_trunk.patch
>
>
> The following patch adds support for the optional "doc_ids" attribute (array 
> of strings) of a JSON replication object.
> The idea was suggested recently by Chris Anderson in the dev mailing list.

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

Reply via email to