[SERVER-9083] remove deleted databases from serverStatus.locks Created: 22/Mar/13  Updated: 21/May/13  Resolved: 22/Mar/13

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Minor - P4
Reporter: Ryan Nitz Assignee: Unassigned
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
duplicates SERVER-8161 locks leak Closed
Related
Operating System: ALL
Participants:

 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.



 Comments   
Comment by Eliot Horowitz (Inactive) [ 22/Mar/13 ]

SERVER-8161

Generated at Thu Feb 08 03:19:20 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.