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),