krishvishal opened a new pull request, #3155:
URL: https://github.com/apache/iggy/pull/3155

   
   
   Closes #3154 
   
   ## Rationale
   
   - Replace the random picker with a `TcpListener` bound to 
`IPAddress.Loopback:0`, which makes the kernel hand out an available ephemeral 
port. Parallel processes asking for port 0 get distinct numbers because the 
kernel tracks what it has already assigned.
   - The `static UsedPorts` set stays as a tiny in-process guard for the window 
between `listener.Stop()` and the Docker bind.
   


-- 
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]

Reply via email to