This is an automated email from the ASF dual-hosted git repository. vatamane pushed a commit to branch disable-prevent-overlapping-partitions in repository https://gitbox.apache.org/repos/asf/couchdb.git
commit f7bbd694c6af3b1ea78cec12e41cd9831cc01a87 Author: Nick Vatamaniuc <[email protected]> AuthorDate: Mon Dec 5 15:04:18 2022 -0500 Ensure prevent_overlapping_partitions stays false in Erlang 25+ It's already false in 23 and 24 but will start to be enabled in 25+. We don't rely on global for process registration any more, and have our own auto-connection module. So we don't want to be caught by surprise in Erlang 25+ since there is some additional coordination and resource usage needed when this option is true. See https://github.com/erlang/otp/issues/6470 for an example. --- rel/overlay/etc/vm.args | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/rel/overlay/etc/vm.args b/rel/overlay/etc/vm.args index cf75ff609..2c011e405 100644 --- a/rel/overlay/etc/vm.args +++ b/rel/overlay/etc/vm.args @@ -48,6 +48,15 @@ -kernel error_logger silent -sasl sasl_error_logger false +# This will toggle to true in Erlang 25+. However since we don't use global +# any longer, and have our own auto-connection module, we can keep the +# existing global behavior to avoid surprises. See +# https://github.com/erlang/otp/issues/6470#issuecomment-1337421210 for more +# information about possible increased coordination and messages being sent on +# disconnections when this setting is enabled. +# +-kernel prevent_overlapping_partitions false + # Increase the pool of dirty IO schedulers from 10 to 16 # Dirty IO schedulers are used for file IO. +SDio 16
