Return-Path: X-Original-To: apmail-couchdb-dev-archive@www.apache.org Delivered-To: apmail-couchdb-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 8436A4C08 for ; Fri, 1 Jul 2011 21:37:51 +0000 (UTC) Received: (qmail 34285 invoked by uid 500); 1 Jul 2011 21:37:51 -0000 Delivered-To: apmail-couchdb-dev-archive@couchdb.apache.org Received: (qmail 33866 invoked by uid 500); 1 Jul 2011 21:37:50 -0000 Mailing-List: contact dev-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@couchdb.apache.org Delivered-To: mailing list dev@couchdb.apache.org Received: (qmail 33854 invoked by uid 99); 1 Jul 2011 21:37:50 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 Jul 2011 21:37:50 +0000 X-ASF-Spam-Status: No, hits=-1996.4 required=5.0 tests=ALL_TRUSTED,FS_REPLICA,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 Jul 2011 21:37:48 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id E4F4443F5E3 for ; Fri, 1 Jul 2011 21:37:28 +0000 (UTC) Date: Fri, 1 Jul 2011 21:37:28 +0000 (UTC) From: "Benoit Chesneau (JIRA)" To: dev@couchdb.apache.org Message-ID: <1589775036.9862.1309556248934.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (COUCHDB-857) no continuous replication with doc_ids param MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/COUCHDB-857?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13058822#comment-13058822 ] Benoit Chesneau commented on COUCHDB-857: ----------------------------------------- mmm I think it was done right after I added the doc_ids filter. At least when I read the code of the new replicator I've found: https://github.com/benoitc/couchdb/blob/master/src/couchdb/couch_api_wrap.erl#L334 Filipe? > 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 > > 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