Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-35350

Add a way to detect when mongobridge is ready to accept connections after startup

    • Server Tooling & Methods
    • 71

      There is a period of time after a mongobridge process starts up but before it is ready to accept connections. If a mongod server tries to connect to the mongobridge in this period, it will fail. This can be a problem, for example, when we restart a mongobridge and its associated mongod server in a replica set test. If we restart the mongobridge, and then restart the mongod, the mongod replica set node will try to identify itself by calling _isSelf against the mongobridge host. If the mongobridge is not ready to accept connections yet, then the command will fail, causing the node to consider itself removed from the replica set config. We should have some way to make sure the mongobridge is ready to accept connections in our tests.

            Assignee:
            backlog-server-stm Backlog - Server Tooling and Methods (STM) (Inactive)
            Reporter:
            william.schultz@mongodb.com William Schultz (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: