Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-29177

After upgrade 10.4 -> 10.5 some UPDATE queries getting stuck in "init for update" state

Details

    • Bug
    • Status: Closed (View Workflow)
    • Critical
    • Resolution: Fixed
    • 10.5.15, 10.5.16
    • 10.5.17
    • Optimizer
    • 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.

      Attachments

        Activity

          lathander Jozef Kováč added a comment - - edited

          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.

          lathander Jozef Kováč added a comment - - edited 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.
          lathander Jozef Kováč added a comment -

          Can`t reproduce in 10.5.17.

          lathander Jozef Kováč added a comment - Can`t reproduce in 10.5.17.

          Thanks. I'll close it then, but please comment if it'll show up again

          serg Sergei Golubchik added a comment - Thanks. I'll close it then, but please comment if it'll show up again

          People

            psergei Sergei Petrunia
            lathander Jozef Kováč
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Git Integration

                Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.