You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@couchdb.apache.org by "Benoit Chesneau (JIRA)" <ji...@apache.org> on 2011/07/02 01:27:28 UTC
[jira] [Resolved] (COUCHDB-857) no continuous replication with
doc_ids param
[ https://issues.apache.org/jira/browse/COUCHDB-857?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Benoit Chesneau resolved COUCHDB-857.
-------------------------------------
Resolution: Fixed
Fix Version/s: 1.2
> no continuous replication with doc_ids param
> --------------------------------------------
>
> Key: COUCHDB-857
> URL: https://issues.apache.org/jira/browse/COUCHDB-857
> Project: CouchDB
> Issue Type: Bug
> Affects Versions: 0.11.1, 0.11.2, 0.11.3, 1.0, 1.0.1, 1.0.2
> Reporter: Benoit Chesneau
> Fix For: 1.2
>
>
> I investigated more on this problem :
> http://markmail.org/message/bazjkhmwcrdp3kcf
> I've found that that *continuous* replication isn't possible with "doc_ids" parameter. I confirmed this reading the code :
> DocIds = couch_util:get_value(<<"doc_ids">>, PostProps, nil),
>
> ... snip ...
> case DocIds of
> List when is_list(List) ->
> % Fast replication using only a list of doc IDs to replicate.
> % Replication sessions, checkpoints and logs are not created
> % since the update sequence number of the source DB is not used
> % for determining which documents are copied into the target DB.
>
> ..... snip
> _ ->
> % Replication using the _changes API (DB sequence update numbers).
> Why can't we have continuous replication with "doc_ids" ?
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira