Uploaded image for project: 'C Driver'
  1. C Driver
  2. CDRIVER-2918

Clean up topology background thread logic

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Minor - P4 Minor - P4
    • 1.15.0
    • None
    • None
    • None
    • Fully Compatible

    Description

      The topology runs a background thread that does server discovery and monitoring.  The startup-shutdown logic of this thread is messy.  We should:

      • either assert that we are only ever RUNNING when we enter this method, or allow us to be OFF as well, and just assert that we are not in SHUTDOWN
      • add new tests for topology scanner thread startup-shutdown

      Attachments

        Activity

          People

            samantha.ritter@mongodb.com Samantha Ritter (Inactive)
            samantha.ritter@mongodb.com Samantha Ritter (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: