ReplicaSetStatus does not interrupt the Updater thread on close

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Major - P3
    • 2.8.0
    • Affects Version/s: 2.6.3
    • Component/s: Cluster Management
    • None
    • None
    • Fully Compatible
    • None
    • None
    • None
    • None
    • None
    • None

      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

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

                Created:
                Updated:
                Resolved: