Details
-
Bug
-
Status: Closed (View Workflow)
-
Critical
-
Resolution: Fixed
-
10.6.10, 10.5, 10.6, 10.7(EOL), 10.8(EOL), 10.9(EOL), 10.10(EOL)
-
None
-
query_cache_type = 1
query_cache_size = 64M
CentOS 7
Almalinux 8
Description
Hi,
With MariaDB 10.6 ( no matter of the subversion but tested mostly with 10.6.10 ) when particular query cache is present you are unable to drop database.
You will need the files all.sql and source_db_schema.sql which are attached to this task.
Then just execute from bash console:
mysql -e "create database source_db" |
|
|
|
mysql source_db < source_db_schema.sql
|
|
mysql -e 'RESET QUERY CACHE'; |
|
mysql -e "create database destination_db" ; mysqldump source_db | mysql destination_db |
|
mysql 'source_db' -e "select option_name from VbVoptions;" ; |
|
|
|
mysql destination_db < all.sql;
|
|
mysql -e "drop database destination_db ;" |
|
echo "drop successfully" |
In summary if specific query cache is present, you are unable to drop database and it just hangs (MariaDB uses 100% cpu) and no restart ( without "kill -9" ) can be performed .
Attachments
Issue Links
- is duplicated by
-
MDEV-23527 mariadb-10.5 hangs on "query cache lock" on DROP DATABASE
-
- Closed
-
-
MDEV-25023 MariaDB 10.5 - DROP DATABASE locked
-
- Closed
-
Activity
Field | Original Value | New Value |
---|---|---|
Fix Version/s | 10.5 [ 23123 ] | |
Fix Version/s | 10.6 [ 24028 ] | |
Fix Version/s | 10.7 [ 24805 ] | |
Fix Version/s | 10.8 [ 26121 ] | |
Fix Version/s | 10.9 [ 26905 ] | |
Fix Version/s | 10.10 [ 27530 ] | |
Affects Version/s | 10.5 [ 23123 ] | |
Affects Version/s | 10.6 [ 24028 ] | |
Affects Version/s | 10.7 [ 24805 ] | |
Affects Version/s | 10.8 [ 26121 ] | |
Affects Version/s | 10.9 [ 26905 ] | |
Affects Version/s | 10.10 [ 27530 ] | |
Assignee | Oleksandr Byelkin [ sanja ] |
Status | Open [ 1 ] | Confirmed [ 10101 ] |
Summary | MariaDB 10.6 DROP DATABASE when particular query cache is present | DROP DATABASE when particular query cache is present |
Summary | DROP DATABASE when particular query cache is present | DROP DATABASE hangs when particular query cache is present |
Link |
This issue is duplicated by |
Link |
This issue is duplicated by |
Assignee | Oleksandr Byelkin [ sanja ] | Daniel Black [ danblack ] |
Status | Confirmed [ 10101 ] | In Progress [ 3 ] |
Assignee | Daniel Black [ danblack ] | Oleksandr Byelkin [ sanja ] |
Status | In Progress [ 3 ] | In Review [ 10002 ] |
Fix Version/s | 10.5.19 [ 28511 ] | |
Fix Version/s | 10.6.12 [ 28513 ] | |
Fix Version/s | 10.7.8 [ 28515 ] | |
Fix Version/s | 10.9.5 [ 28519 ] | |
Fix Version/s | 10.9.6 [ 28520 ] | |
Fix Version/s | 10.10.3 [ 28521 ] | |
Fix Version/s | 10.11.2 [ 28523 ] | |
Fix Version/s | 10.5 [ 23123 ] | |
Fix Version/s | 10.6 [ 24028 ] | |
Fix Version/s | 10.7 [ 24805 ] | |
Fix Version/s | 10.8 [ 26121 ] | |
Fix Version/s | 10.9 [ 26905 ] | |
Fix Version/s | 10.10 [ 27530 ] | |
Assignee | Oleksandr Byelkin [ sanja ] | Daniel Black [ danblack ] |
Resolution | Fixed [ 1 ] | |
Status | In Review [ 10002 ] | Closed [ 6 ] |