nickva commented on code in PR #6031:
URL: https://github.com/apache/couchdb/pull/6031#discussion_r3389139993
##########
src/couch_replicator/src/couch_replicator_docs.erl:
##########
@@ -209,6 +215,22 @@ open_rep_doc(DbName, DocId) ->
Else
end.
+save_rep_doc(<<"shards/", _/binary>> = ShardDbName, Doc) ->
+ DbName = mem3:dbname(ShardDbName),
+ ioq:maybe_set_io_priority({system, DbName}),
+ defer_call(fun() ->
+ try
+ fabric:update_doc(DbName, Doc, [?CTX])
Review Comment:
With `serialize_worker_startup=false` currently we're using at cloudant,
wouldn't this make the conflict generation worse?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]