summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorILYA Khlopotov <iilyak@apache.org>2017-07-05 16:33:18 -0700
committerILYA Khlopotov <iilyak@apache.org>2017-07-05 16:33:18 -0700
commitff32a155390ca48553113cf236a0b658bd812b75 (patch)
tree7aefd69ef5540eb76c92eef8b875579be6ce3307
parent858088e3838207f37b33a1ca5c76b21e62e2b7dc (diff)
downloadcouchdb-ff32a155390ca48553113cf236a0b658bd812b75.tar.gz
Fix couch_replicator_changes_reader:process_change
The size of the tuple was changed in all clauses of process_change but one. Remove TS argument from `#doc_info{id = <<>>}` clause of process_change.
-rw-r--r--src/couch_replicator/src/couch_replicator_changes_reader.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/couch_replicator/src/couch_replicator_changes_reader.erl b/src/couch_replicator/src/couch_replicator_changes_reader.erl
index 2526618d4..3659d9592 100644
--- a/src/couch_replicator/src/couch_replicator_changes_reader.erl
+++ b/src/couch_replicator/src/couch_replicator_changes_reader.erl
@@ -82,7 +82,7 @@ read_changes(Parent, StartSeq, Db, ChangesQueue, Options) ->
end.
-process_change(#doc_info{id = <<>>} = DocInfo, {_, Db, _, _, _}) ->
+process_change(#doc_info{id = <<>>} = DocInfo, {_, Db, _, _}) ->
% Previous CouchDB releases had a bug which allowed a doc with an empty ID
% to be inserted into databases. Such doc is impossible to GET.
couch_log:error("Replicator: ignoring document with empty ID in "