mirror of
https://github.com/scylladb/scylladb.git
synced 2026-04-28 04:06:59 +00:00
there is a small time window after we find a free port and before the minio server listens on that port, if another server sneaked in the time window and listen on that port, minio server can still fail to start even there might be free port for it. so, in this change, we just retry with a random port for a fixed number of times until the minio server is able to serve. Signed-off-by: Kefu Chai <kefu.chai@scylladb.com> Closes #15042