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

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

    XMLWordPrintableJSON

Details

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

      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

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: