-
Type: Improvement
-
Resolution: Won't Do
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
Labels:None
-
Storage Execution
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