Details
-
Bug
-
Status: Closed (View Workflow)
-
Critical
-
Resolution: Fixed
-
10.5.15, 10.5.16
-
None
-
RHEL 8.6
Description
After upgrade mariadb server from 10.4.25 to 10.5.16 similar UPDATE queries stuck in "init for update" state for 2-60 minutes, same queries was and are executed under 10.4.25 in milliseconds.
SHOW FULL PROCESSLIST added to attachment, it was during replication but same happen when query is executed manually. And also SHOW CREATE TABLE\G added.
It stuck in "init for update" state using Aria engine too but only for 10 seconds same query on InnoDB stuck for 3000s (killed after 600s)
Tested 10+ times always 10s in "init for update" state.
Setting optimizer_max_sel_arg_weight=320 with InnoDB/Aria query is executed very fast. 3200 produce short stuck in "init for update" state.