nickva commented on a change in pull request #1593: Couch server improvements
URL: https://github.com/apache/couchdb/pull/1593#discussion_r216078896
##########
File path: src/couch/src/couch_server.erl
##########
@@ -230,7 +235,13 @@ init([]) ->
ok = config:listen_for_changes(?MODULE, nil),
ok = couch_file:init_delete_dir(RootDir),
hash_admin_passwords(),
- ets:new(couch_dbs, [set, protected, named_table, {keypos, #entry.name}]),
+ ets:new(couch_dbs, [
+ set,
+ protected,
+ named_table,
+ {keypos, #entry.name},
+ {read_concurrency, true}
Review comment:
Wonder if this will slow down updates to the table. I forgot what the
trade-offs for read_concurrency are...
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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