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.
- is related to
-
SERVER-21167 Top keeps state about operations against non-existent collections
- Closed
- related to
-
SERVER-6627 top command should return cursor
- Backlog