Percona server 5.7 stalls on drop database
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Percona Server moved to https://jira.percona.com/projects/PS |
Expired
|
Undecided
|
Unassigned |
Bug Description
I am doing some testing and got stuck into a weird situation. I created a database and populated it with 16 or so tables. To retest my data population scripts I dropped the database and it works fine. I populate the database again with the scripts and repeat the above process.
However on the second occasion it does not work. The drop database statement completely stalls and do nothing.
Following appears in show processlist;
34 | root | localhost | bi_staging | Query | 60 | Waiting for table metadata lock | drop database bi_staging
Although I know what it means but it should not apply in my case because there is no traffic on this machine as I am using it for a dedicated task.
I tried restarting the MYSQL but it do not work either, in the error log it says read the security section of MYSQL on how to run as root. I am root.
I restarted the linux machine and MYSQL back online and repeated the above process. However on the second attempt of the drop database statement similar behavior and the statement stalls.
summary: |
- Percona server 5.7 stalls on drop databsae + Percona server 5.7 stalls on drop database |
Masood,
Can you please show us your script and along with that provide my.cnf is in use. Also, provide processlist/innodb status output during stall.
mysql> SHOW FULL PROCESSLIST\G
mysql> SHOW ENGINE INNODB STATUS\G