Details
-
Improvement
-
Resolution: Won't Do
-
Major - P3
-
None
-
None
-
None
-
None
-
Storage Execution
Description
SERVER-50756 caused a performance regression ( SERVER-62277 ) because it made dbstats open all collections.
We could add a regression test to make sure dbstats (and possibly other monitoring commands) don't open too many handles/files:
- Start up fresh mongod
- Create ~100 collections
- Restart mongod
- Run dbstats (and possibly others)
- Make sure "connection data handles currently active" and "files currently open" are below some threshold