This helps reducing the number of no_available_ports_in_range errors encountered when starting lots of replicas at once. E.g. after a RabbitMQ nodes start.
Also adding configuration for reuseaddr and listen socket options.
In a 1000 stream tests, during a rolling restart of a 3-node cluster, on main I get over a 1000 no_available_ports_in_range errors in the logs. With this PR I got none. 👍
This helps reducing the number of
no_available_ports_in_range
errors encountered when starting lots of replicas at once. E.g. after a RabbitMQ nodes start.Also adding configuration for reuseaddr and listen socket options.