Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-22554

WiredTiger data handles not closed when collection is dropped

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • 3.0.8, 3.0.9
    • 3.0.10
    • WiredTiger
    • None
    • Fully Compatible
    • ALL

    Description

      Test case creates collections and indexes and then drops them at a high rate through point A below. WT data handles accumulate and are never closed.

      Problem reproduces in several 3.0 versions, but not in 3.2.1.

      Repro script:

      function create(t) {
          for (var i=0; i<100; i++) {
              c = db['c.'+t+'.'+i]
              c.insert({})
              c.createIndex({x:1})
              c.createIndex({y:1})
              c.createIndex({z:1})
              c.drop()
              if (i%100==0)
                  print(i)
          }
      }
      

      Attachments

        1. dhandles_321.png
          dhandles_321.png
          47 kB
        2. dhandles.png
          dhandles.png
          99 kB

        Activity

          People

            alexander.gorrod@mongodb.com Alexander Gorrod
            bruce.lucas@mongodb.com Bruce Lucas
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: