rnewson commented on code in PR #5371:
URL: https://github.com/apache/couchdb/pull/5371#discussion_r2912378783
##########
src/fabric/src/fabric_doc_update.erl:
##########
@@ -47,10 +48,13 @@ go(DbName, AllDocs0, Opts) ->
doc_count = length(AllDocs),
w = fabric_util:w_from_opts(DbName, Options),
grouped_docs = GroupedDocs,
- reply = dict:new()
+ reply = dict:new(),
+ dbname = DbName,
+ update_options = Options
},
Timeout = fabric_util:request_timeout(),
- try rexi_utils:recv(Workers, #shard.ref, fun handle_message/3, Acc0,
infinity, Timeout) of
+ Acc1 = start_workers(Acc0),
Review Comment:
yes, I think so. we could have a config toggle between calling this and
start_remaining_workers. will try it locally.
--
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]