You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by GitBox <gi...@apache.org> on 2020/04/16 15:09:44 UTC
[GitHub] [couchdb] nickva commented on a change in pull request #2790: Async
all docs
nickva commented on a change in pull request #2790: Async all docs
URL: https://github.com/apache/couchdb/pull/2790#discussion_r409634177
##########
File path: src/fabric/src/fabric2_db.erl
##########
@@ -946,23 +954,144 @@ fold_docs(Db, UserFun, UserAcc0, Options) ->
DocOpts = couch_util:get_value(doc_opts, Options, []),
OpenOpts = [deleted | DocOpts],
- Row1 = case lists:keyfind(include_docs, 1, Options) of
- {include_docs, true} ->
- Row0 ++ open_json_doc(Db, DocId, OpenOpts, DocOpts);
Review comment:
I wonder if we could try a quick and easy way first just by re-using the transaction so going from Db to TxDb
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services