summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJan Lehnardt <jan@apache.org>2010-03-19 23:57:59 +0000
committerJan Lehnardt <jan@apache.org>2010-03-19 23:57:59 +0000
commitdc842619158dcc7aa9d2adc4873a36ba511e3108 (patch)
tree39699563d421295be698d647812daa1bb58edb59 /src
parentfbcc835d06dc017aebaf0b837bf56ca524f3c9c5 (diff)
Do not use the doc_id list from the previous replication request
on subsequent replication requests. Closes COUCHDB-703. Patch by Filipe Manana. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@925488 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src')
-rw-r--r--src/couchdb/couch_rep.erl3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/couchdb/couch_rep.erl b/src/couchdb/couch_rep.erl
index c0010a94..6e58ccbc 100644
--- a/src/couchdb/couch_rep.erl
+++ b/src/couchdb/couch_rep.erl
@@ -453,8 +453,9 @@ make_replication_id({Props}, UserCtx) ->
Tgt = get_rep_endpoint(UserCtx, proplists:get_value(<<"target">>, Props)),
Filter = proplists:get_value(<<"filter">>, Props),
QueryParams = proplists:get_value(<<"query_params">>, Props),
+ DocIds = proplists:get_value(<<"doc_ids">>, Props),
Base = couch_util:to_hex(erlang:md5(
- term_to_binary([HostName, Src, Tgt, Filter, QueryParams])
+ term_to_binary([HostName, Src, Tgt, Filter, QueryParams, DocIds])
)),
Extension = maybe_append_options(
[<<"continuous">>, <<"create_target">>], Props),