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

Dropping database does not clear state of contained collections in Top

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 3.3.12
    • Admin, Storage
    • None
    • Fully Compatible
    • ALL
    • Integration 18 (08/05/16), Integration 2016-08-29

    Description

      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.
      

      Attachments

        Issue Links

          Activity

            People

              kyle.suarez@mongodb.com Kyle Suarez
              rassi J Rassi
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: