[jira] [Commented] (COUCHDB-857) no continuous replication with doc_ids param
[ https://issues.apache.org/jira/browse/COUCHDB-857?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13058861#comment-13058861 ] Filipe Manana commented on COUCHDB-857: --- Yep, this was added in 1.1.0 in fact. > 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
[jira] [Commented] (COUCHDB-857) no continuous replication with doc_ids param
[ 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
[jira] [Commented] (COUCHDB-857) no continuous replication with doc_ids param
[ https://issues.apache.org/jira/browse/COUCHDB-857?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13058798#comment-13058798 ] Randall Leeds commented on COUCHDB-857: --- Since the built in doc ids filter has been added it should be easy to do this automatically from the request body of an unfiltered replication. Benoit: do you want to implement this? Otherwise close as "Won't Fix" in favor of the filter. > 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
[jira] Commented: (COUCHDB-857) no continuous replication with doc_ids param
[ https://issues.apache.org/jira/browse/COUCHDB-857?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12899832#action_12899832 ] Benoit Chesneau commented on COUCHDB-857: - This filter should be created on the fly imo if so set continuous=true . Or we should send an error on creation of the replication. It's a little disturbing :) > 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. - You can reply to this email to add a comment to the issue online.
[jira] Commented: (COUCHDB-857) no continuous replication with doc_ids param
[ https://issues.apache.org/jira/browse/COUCHDB-857?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12899831#action_12899831 ] Filipe Manana commented on COUCHDB-857: --- Hi, replication by doc IDs was designed to not use the _changes API, therefore no support for continuous replication. If you want such kind of replication, use a filtered replication. > 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. - You can reply to this email to add a comment to the issue online.
[jira] Commented: (COUCHDB-857) no continuous replication with doc_ids param
[ https://issues.apache.org/jira/browse/COUCHDB-857?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12899830#action_12899830 ] Benoit Chesneau commented on COUCHDB-857: - behaviour confirmed. I think we should be smarter on this and create a specific filter on the fly. I'm letting this ticket open. > 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. - You can reply to this email to add a comment to the issue online.