This is an automated email from the ASF dual-hosted git repository.

garren pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/couchdb.git

commit 94c5fe0b713958b9472cbee7f644da09d1b54408
Author: Garren Smith <garren.sm...@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,

Reply via email to