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

WiredTiger data handles not closed when collection is dropped

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: 3.0.8, 3.0.9
    • Fix Version/s: 3.0.10
    • Component/s: WiredTiger
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: