nickva opened a new pull request, #6024: URL: https://github.com/apache/couchdb/pull/6024
With a default setting `max_dbs_open = 500` on servers with 128 CPU cores, per-instance LRU cache limits would become tiny (500/128 = 4). In that case, if just 4 db names on any gen_server randomly pick any the same server the cluster will start emitting `all_dbs_active` errors, even though in aggregate across all instances there will still be plenty of available LRU slots left. As a simple solution, let's limit the sharding factor with a config setting. Use the scheduler count on small instances and those will more schedulers are limited by the limit. -- 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. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
