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

Dropping database does not clear state of contained collections in Top

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 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

      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@mongodb.com Kyle Suarez
            Reporter:
            rassi J Rassi
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: