diff options
author | Nick Vatamaniuc <vatamane@gmail.com> | 2022-12-05 15:04:18 -0500 |
---|---|---|
committer | Nick Vatamaniuc <nickva@users.noreply.github.com> | 2022-12-05 15:59:20 -0500 |
commit | 28c3ccc08d8ad97f09738cbec0ce45d30d556d9c (patch) | |
tree | be870df73dafdfe78cadf1bd90705a11c5f04cee | |
parent | 5c5016e7d24b986d44f01f7bf4d0c0f3550324c5 (diff) | |
download | couchdb-28c3ccc08d8ad97f09738cbec0ce45d30d556d9c.tar.gz |
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.
-rw-r--r-- | rel/overlay/etc/vm.args | 9 |
1 files changed, 9 insertions, 0 deletions
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 |