Dropping database does not clear state of contained collections in Top

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Major - P3
    • 3.3.12
    • Affects Version/s: None
    • Component/s: Admin, Storage
    • None
    • Fully Compatible
    • ALL
    • Integration 18 (08/05/16), Integration 2016-08-29
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Dropping a database fails to clear the state in Top associated with the contained collections. This is unexpected.

      See also related ticket SERVER-21167.

      Reproduce with the following script:

      db.dropDatabase();
      db.foo.insert({});
      db.dropDatabase();
      assert.isnull(db.adminCommand("top").totals["test.foo"]);  // Trips: unexpected.
      

              Assignee:
              Kyle Suarez (Inactive)
              Reporter:
              J Rassi (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: