Uploaded image for project: 'Java Driver'
  1. Java Driver
  2. JAVA-1072

Ensure that scheduled jobs for cluster monitoring use daemon threads

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 2.12.0, 3.0.0
    • Affects Version/s: None
    • Component/s: Cluster Management
    • 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:
            jeff.yemin@mongodb.com Jeffrey Yemin
            Reporter:
            jeff.yemin@mongodb.com Jeffrey Yemin
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: