Uploaded image for project: 'Python Driver'
  1. Python Driver
  2. PYTHON-2018

Monitor thread should remove servers whose sockets timeout from topology

    • Type: Icon: Bug Bug
    • Resolution: Works as Designed
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 3.8, 3.9
    • Component/s: Monitoring
    • None

      The Monitor class suppresses socket.timeout exceptions which causes the potentially dead host/server to stay in the topology description (see https://github.com/mongodb/mongo-python-driver/blob/3.8.0/pymongo/monitor.py#L141). As a result a server with sockets that are black-holed might be allowed to remain in the topology and cause applications to initiate operations on those black-holed sockets (see HELP-11666).

            Assignee:
            Unassigned Unassigned
            Reporter:
            prashant.mital Prashant Mital (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: