garrensmith commented on a change in pull request #2508: Use
multi-transactional iterators
URL: https://github.com/apache/couchdb/pull/2508#discussion_r373974817
##########
File path: src/fabric/src/fabric2_fdb.erl
##########
@@ -307,6 +312,54 @@ exists(#{name := DbName} = Db) when is_binary(DbName) ->
end.
+create_iter(#{tx := undefined} = Db) ->
+ try
+ Db1 = refresh(Db),
+
+ Reopen = maps:get(reopen, Db1, false),
+ Db2 = maps:remove(reopen, Db1),
+
+ Fdb = get_db_handle(),
+ Tx = erlfdb:reate_read_only_transaction(Fdb),
Review comment:
I think that should be `create_read_only_transaction`
----------------------------------------------------------------
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:
[email protected]
With regards,
Apache Git Services