Uploaded image for project: 'Rust Driver'
  1. Rust Driver
  2. RUST-544

Replica set monitoring threads do not always shut down when client is dropped

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

      The logic for shutting down monitoring threads based on failure to upgrade the Weak reference to an Arc doesn't always work as intended when there are multiple monitoring threads (e.g. when connected to a multi-node replica set). Specifically, the monitoring threads can keep each other alive with their temporary strong references that are alive for the body of the monitoring loop.

            Assignee:
            sam.rossi@mongodb.com Samuel Rossi (Inactive)
            Reporter:
            sam.rossi@mongodb.com Samuel Rossi (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: