You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Using a single, system-generated source port for cluster connections #1927
The problem with the --client-port option used in the tests is avoiding having two instances with the same port, or accidentally using a port that is already in use.
Instead, rethinkd serve could automatically bind a socket to zero and use that port as the client port for all cluster connections.
This feature could take the form of a --fixed-client-port option to rethinkdb serve.
It would make the tests that simulate netsplits more reliable.
Activity
larkost commentedon Dec 10, 2014
test/common/driver.pyis using this method, and it is what is being used by almost all of the tests at this point. So I think we are good on this.