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

Add test to verify dbstats doesn't open too many files

    • Type: Icon: Improvement Improvement
    • Resolution: Won't Do
    • Priority: Icon: Major - P3 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:

      1. Start up fresh mongod
      2. Create ~100 collections
      3. Restart mongod
      4. Run dbstats (and possibly others)
      5. Make sure "connection data handles currently active" and "files currently open" are below some threshold

            Assignee:
            backlog-server-execution [DO NOT USE] Backlog - Storage Execution Team
            Reporter:
            daniel.gomezferro@mongodb.com Daniel Gomez Ferro
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: