Ensure that scheduled jobs for cluster monitoring use daemon threads

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Done
    • Priority: Major - P3
    • 2.12.0, 3.0.0
    • Affects Version/s: None
    • Component/s: Cluster Management
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Now that the driver has switched over to ScheduledExecutorService for monitoring the cluster, applications that use the driver no longer exit unless MongoClient is explicitly closed. To fix this, the driver needs to create the service with a thread factory that creates daemon threads.

              Assignee:
              Jeffrey Yemin
              Reporter:
              Jeffrey Yemin
              None
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: