Java Driver
  1. Java Driver
  2. JAVA-237

Should only have 1 DBCleanerThread per Mongo instance

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Minor - P4 Minor - P4
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.5
    • Component/s: None
    • Labels:
      None
    • Operating System:
      ALL
    • # Replies:
      2
    • Last comment by Customer:
      true

      Description

      Right now we have 1 per DB.
      Could have many dbs, so only really need 1 per Mongo

        Activity

        Hide
        auto
        added a comment -

        Author:

        {u'login': u'agirbal', u'name': u'agirbal', u'email': u'antoine@10gen.com'}

        Message: JAVA-237: Should only have 1 DBCleanerThread per Mongo instance
        https://github.com/mongodb/mongo-java-driver/commit/742d9c812f2923380186a7e99bb9167af8c551c9

        Show
        auto
        added a comment - Author: {u'login': u'agirbal', u'name': u'agirbal', u'email': u'antoine@10gen.com'} Message: JAVA-237 : Should only have 1 DBCleanerThread per Mongo instance https://github.com/mongodb/mongo-java-driver/commit/742d9c812f2923380186a7e99bb9167af8c551c9
        Hide
        Antoine Girbal
        added a comment -

        moved it at mongo level.
        interval can be controlled by com.mongodb.cleanerIntervalMS, default is 1s.
        Tested that the thread does clean up left over cursors.

        Show
        Antoine Girbal
        added a comment - moved it at mongo level. interval can be controlled by com.mongodb.cleanerIntervalMS, default is 1s. Tested that the thread does clean up left over cursors.

          People

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

            Dates

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