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

Fix race condition caused by MongoClient._process_periodic_tasks(client)

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Unknown
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.0
    • Component/s: None
    • Labels:
      None

      Description

      Currently there is a race condition caused by a background thread attempting to perform operations after the topology is already closed, sometimes causing InvalidOperation failures.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              julius.park Julius Park
              Reporter:
              julius.park Julius Park
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: