jiangphcn commented on a change in pull request #1808: Update 
before_doc_update/2 to before_doc_update/3
URL: https://github.com/apache/couchdb/pull/1808#discussion_r245189759
 
 

 ##########
 File path: src/fabric/src/fabric_doc_update.erl
 ##########
 @@ -106,11 +106,13 @@ before_doc_update(DbName, Docs, Opts) ->
         {true, _} ->
             %% fake db is expensive to create so we only do it if we have to
             Db = fabric_util:fake_db(DbName, Opts),
-            [couch_replicator_docs:before_doc_update(Doc, Db) || Doc <- Docs];
+            [couch_replicator_docs:before_doc_update(Doc, Db, 
interactive_updates)
 
 Review comment:
   Good catch. Because this is for placeholder and I directly use 
https://github.com/apache/couchdb/pull/1808#discussion_r242498749. I already 
change it to replicated_changes.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to