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

ReplicaSetStatus does not interrupt the Updater thread on close

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: 2.6.3
    • Fix Version/s: 2.8.0
    • Component/s: Cluster Management
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • # Replies:
      3
    • Last comment by Customer:
      false

      Description

      com.mongodb.ReplicaSetStatus.Updater thread should be interrupted and closed gracefully upon Mongo.close() call. I know it's a daemon thread, but in Tomcat, when redeploying I get:

      SEVERE: The web application [/ssp] appears to have started a thread named [ReplicaSetStatus:Updater] but has failed to stop it. This is very likely to create a memory leak.

      Also see: JAVA-191

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                1 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since reply:
                  5 years, 19 weeks ago
                  Date of 1st Reply: