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

WiredTiger data handles not closed when collection is dropped

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 3.0.10
    • Affects Version/s: 3.0.8, 3.0.9
    • Component/s: WiredTiger
    • None
    • Fully Compatible
    • ALL

      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)
          }
      }
      

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

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

              Created:
              Updated:
              Resolved: