SRV polling thread uses 100% CPU when connected to a replica set

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Critical - P2
    • 1.17.2
    • Affects Version/s: 1.17.0
    • Component/s: None
    • None
    • Environment:
      Ubuntu 18 / 20 and macOS
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Implementation of the client pool has resulted in a runaway thread consuming 100% of CPU on a task (from what I can gather by tracing it is srv_polling_run within the libmongoc-1.0.0 dynamic library). It is reproducible on my macOS development machine and my docker 18 and 20 distribution containers. 

      My use of the mongocxx:: pool class is standard with the documentation. 

              Assignee:
              Kevin Albertson
              Reporter:
              Ryan Landvater
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: