rabbitmq / osiris

Log based streaming subsystem for RabbitMQ
Other
45 stars 10 forks source link

Add small backoff when doing replica port scans. #120

Closed kjnilsson closed 1 year ago

kjnilsson commented 1 year ago

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.

mkuratczyk commented 1 year ago

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. 👍