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

remove deleted databases from serverStatus.locks

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Minor - P4 Minor - P4
    • None
    • None
    • None
    • None
    • ALL

    Description

      When a database is deleted, it is removed from the output of "show dbs"; however, it is not removed from serverStatus.locks until the server is restarted.

      The database is removed from serverStatus.recordStats when it is deleted.

      If I had a program that created a 1000 temp databases per hour and then deleted them, I could run into a situation where I have millions of deleted databases listed in serverStatus.locks until the server is restarted.

      Attachments

        Activity

          People

            Unassigned Unassigned
            rn@deftlabs.com Ryan Nitz
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: