Uploaded image for project: 'Ruby Driver'
  1. Ruby Driver
  2. RUBY-2434

Awaited ismasters tight looping when server goes away

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None

      To reproduce:

      • Start a 4.4 server (any topology, single is fine)
      • Connect
      • Stop the server

      Observe flood of:

      W, [2020-11-02T22:53:19.919183 #21156]  WARN -- : MONGODB | Error running awaited ismaster on localhost:14400: Mongo::Error::SocketError: Errno::ECONNREFUSED: Connection refused - connect(2) for 127.0.0.1:14400 (for 127.0.0.1:14400 (no TLS)) (on localhost:14400)
      

      ... which stops once the server is restarted.

      Awaited ismasters should only be performed on known servers, this server should be unknown while it's not running.

        1. Untitled.png
          Untitled.png
          42 kB
        2. screenshot-1.png
          screenshot-1.png
          42 kB

            Assignee:
            Unassigned Unassigned
            Reporter:
            oleg.pudeyev@mongodb.com Oleg Pudeyev (Inactive)
            Votes:
            2 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: