Revision 353735633733 () - Diff

Link to this snippet: https://friendpaste.com/I466uiIaQ8yzk0LUKPWAf
Embed:
1
2
3
4
5
6
7
8
9
10
11
12
diff --git a/src/couchdb/couch_db_updater.erl b/src/couchdb/couch_db_updater.erl
index e15a944..905174a 100644
--- a/src/couchdb/couch_db_updater.erl
+++ b/src/couchdb/couch_db_updater.erl
@@ -674,6 +674,7 @@ update_docs_int(Db, DocsList, NonRepDocs, MergeConflicts, FullCommit) ->
update_seq = LastSeq,
revs_limit = RevsLimit
} = Db,
+ io:format("Update docs int, DocsList: ~p~n", [length(hd(DocsList))]),
Ids = [Id || [{_Client, #doc{id=Id}}|_] <- DocsList],
% lookup up the old documents, if they exist.
OldDocLookups = couch_btree:lookup(DocInfoByIdBTree, Ids),