Skip to content

Using a single, system-generated source port for cluster connections #1927

Closed

Description

@AtnNn

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

  1. ghost assigned on Jan 31, 2014
  2. modified the milestones: tests, backlog on Apr 25, 2014
  3. larkost commented on Dec 10, 2014

    @larkost
    Collaborator

    test/common/driver.py is 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.

  4. modified the milestones: tests, 1.16 on Jan 23, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions