You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@couchdb.apache.org by "Filipe Manana (JIRA)" <ji...@apache.org> on 2011/01/18 15:56:44 UTC

[jira] Created: (COUCHDB-1028) Pull replication by doc-IDs, from a CouchDB version < 1.1.0, no longer works when sent from a CouchDB 1.1.0+ server

Pull replication by doc-IDs, from a CouchDB version < 1.1.0, no longer works when sent from a CouchDB 1.1.0+ server
-------------------------------------------------------------------------------------------------------------------

                 Key: COUCHDB-1028
                 URL: https://issues.apache.org/jira/browse/COUCHDB-1028
             Project: CouchDB
          Issue Type: Bug
          Components: Replication
    Affects Versions: 1.1
            Reporter: Filipe Manana
            Assignee: Filipe Manana
         Attachments: COUCHDB-1028.patch

After Benoît added the built-in _changes filter _doc_ids to trunk (and now in 1.1.x as well), I updated the replicator to use it for the replication by doc-IDs. The advantages of this are:

1) Elimination of very specific, and harder to maintain, code from several replicator modules;
2) Allow for continuous by doc-IDs replication (this was not possible before because a replication by doc-IDs didn't use the _changes stream at all)

The change was done in the following commit:

https://github.com/apache/couchdb/commit/5afece2131f4ef4000d768b671bddbbf714303d9

It happens that with the branch 1.1.x (and trunk as well), it's no longer possible to pull replicate by doc-IDs from previous CouchDB versions (since they don't have that new built-in filter).

The following patch fixes the issue by changing only 1 module of the replicator. If no objections, I'll commit it later.



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


[jira] Updated: (COUCHDB-1028) Pull replication by doc-IDs, from a CouchDB version < 1.1.0, no longer works when sent from a CouchDB 1.1.0+ server

Posted by "Filipe Manana (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/COUCHDB-1028?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Filipe Manana updated COUCHDB-1028:
-----------------------------------

    Attachment: COUCHDB-1028.patch

> Pull replication by doc-IDs, from a CouchDB version < 1.1.0, no longer works when sent from a CouchDB 1.1.0+ server
> -------------------------------------------------------------------------------------------------------------------
>
>                 Key: COUCHDB-1028
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-1028
>             Project: CouchDB
>          Issue Type: Bug
>          Components: Replication
>    Affects Versions: 1.1
>            Reporter: Filipe Manana
>            Assignee: Filipe Manana
>         Attachments: COUCHDB-1028.patch
>
>
> After Benoît added the built-in _changes filter _doc_ids to trunk (and now in 1.1.x as well), I updated the replicator to use it for the replication by doc-IDs. The advantages of this are:
> 1) Elimination of very specific, and harder to maintain, code from several replicator modules;
> 2) Allow for continuous by doc-IDs replication (this was not possible before because a replication by doc-IDs didn't use the _changes stream at all)
> The change was done in the following commit:
> https://github.com/apache/couchdb/commit/5afece2131f4ef4000d768b671bddbbf714303d9
> It happens that with the branch 1.1.x (and trunk as well), it's no longer possible to pull replicate by doc-IDs from previous CouchDB versions (since they don't have that new built-in filter).
> The following patch fixes the issue by changing only 1 module of the replicator. If no objections, I'll commit it later.

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


[jira] Closed: (COUCHDB-1028) Pull replication by doc-IDs, from a CouchDB version < 1.1.0, no longer works when sent from a CouchDB 1.1.0+ server

Posted by "Filipe Manana (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/COUCHDB-1028?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Filipe Manana closed COUCHDB-1028.
----------------------------------

       Resolution: Fixed
    Fix Version/s: 1.1

Applied to trunk and branch 1.1.x

> Pull replication by doc-IDs, from a CouchDB version < 1.1.0, no longer works when sent from a CouchDB 1.1.0+ server
> -------------------------------------------------------------------------------------------------------------------
>
>                 Key: COUCHDB-1028
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-1028
>             Project: CouchDB
>          Issue Type: Bug
>          Components: Replication
>    Affects Versions: 1.1
>            Reporter: Filipe Manana
>            Assignee: Filipe Manana
>             Fix For: 1.1
>
>         Attachments: COUCHDB-1028.patch
>
>
> After Benoît added the built-in _changes filter _doc_ids to trunk (and now in 1.1.x as well), I updated the replicator to use it for the replication by doc-IDs. The advantages of this are:
> 1) Elimination of very specific, and harder to maintain, code from several replicator modules;
> 2) Allow for continuous by doc-IDs replication (this was not possible before because a replication by doc-IDs didn't use the _changes stream at all)
> The change was done in the following commit:
> https://github.com/apache/couchdb/commit/5afece2131f4ef4000d768b671bddbbf714303d9
> It happens that with the branch 1.1.x (and trunk as well), it's no longer possible to pull replicate by doc-IDs from previous CouchDB versions (since they don't have that new built-in filter).
> The following patch fixes the issue by changing only 1 module of the replicator. If no objections, I'll commit it later.

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