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

Use backoffs in QueryTester connection creation to avoid filesystem conflicts

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.1.0-rc0
    • Affects Version/s: None
    • Component/s: QueryTester
    • None
    • Query Optimization
    • Fully Compatible
    • ALL
    • QO 2024-12-09
    • 200

      QueryTester's self-tests encounter networking errors to the likes of

      Tester exiting after error: Error setting up listener SocketException: /tmp/mongodb-27016.sock\x00 :: caused by :: setup bind :: caused by :: Address already in use

      This appears to be caused by a hardcoding of port 27016 when building a connection, causing concurrent QueryTesters running on the same machine to conflict on the same port. Changing this to port 0 should fix the issue, since port 0 will actually just reassign to any available port.

            Assignee:
            william.qian@mongodb.com William Qian
            Reporter:
            william.qian@mongodb.com William Qian
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: