You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by ga...@apache.org on 2021/01/18 12:03:42 UTC
[couchdb] 01/02: remove {restart_tx, true} from mango _all_docs
This is an automated email from the ASF dual-hosted git repository.
garren pushed a commit to branch timeout-transaction
in repository https://gitbox.apache.org/repos/asf/couchdb.git
commit 71a87fb9e66450fe46d6937e23275a1b28025857
Author: Garren Smith <ga...@gmail.com>
AuthorDate: Mon Jan 18 14:03:02 2021 +0200
remove {restart_tx, true} from mango _all_docs
---
src/mango/src/mango_cursor_view.erl | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/src/mango/src/mango_cursor_view.erl b/src/mango/src/mango_cursor_view.erl
index 411f4af..43a59ff 100644
--- a/src/mango/src/mango_cursor_view.erl
+++ b/src/mango/src/mango_cursor_view.erl
@@ -137,8 +137,7 @@ execute(#cursor{db = Db, index = Idx, execution_stats = Stats} = Cursor0, UserFu
Result = case mango_idx:def(Idx) of
all_docs ->
CB = fun ?MODULE:handle_all_docs_message/2,
- AllDocOpts = fabric2_util:all_docs_view_opts(Args)
- ++ [{restart_tx, true}],
+ AllDocOpts = fabric2_util:all_docs_view_opts(Args),
fabric2_db:fold_docs(Db, CB, Cursor, AllDocOpts);
_ ->
CB = fun ?MODULE:handle_message/2,