Monitor thread should remove servers whose sockets timeout from topology

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Works as Designed
    • Priority: Major - P3
    • None
    • Affects Version/s: 3.8, 3.9
    • Component/s: Monitoring
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • 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
              Reporter:
              Prashant Mital (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: