summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGarren Smith <garren.smith@gmail.com>2020-03-25 15:10:00 +0200
committergarren smith <garren.smith@gmail.com>2020-04-06 17:55:49 +0200
commit34ca5e40cfac4bb6fbdc8d9084602781c17d87de (patch)
tree124a21cebb5c02421cbca40fd601249fa4e111e0
parent9d27c6e817692ee98acdd1369b771ccb1b8bd79d (diff)
downloadcouchdb-34ca5e40cfac4bb6fbdc8d9084602781c17d87de.tar.gz
All couch_view queries to run across transactions
-rw-r--r--src/couch_views/src/couch_views_reader.erl3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/couch_views/src/couch_views_reader.erl b/src/couch_views/src/couch_views_reader.erl
index 76dbed11f..ce7f16354 100644
--- a/src/couch_views/src/couch_views_reader.erl
+++ b/src/couch_views/src/couch_views_reader.erl
@@ -184,7 +184,8 @@ mrargs_to_fdb_options(Args) ->
[
{dir, Direction},
{limit, Limit + Skip},
- {streaming_mode, want_all}
+ {streaming_mode, want_all},
+ {restart_tx, true}
] ++ StartKeyOpts ++ EndKeyOpts.