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

XtraDB hangs on Windows due to failing to release block->lock X-latch in innodb_read_only mode

Details

    Description

      The recently added test innodb.row_format_redundant hangs on XtraDB on Windows. InnoDB and other platforms than Windows seem to be fine.

      Here is the problematic section:

      SET GLOBAL innodb_fast_shutdown=0;
      --let $restart_parameters = --innodb-read-only
      --source include/restart_mysqld.inc
       
      SELECT COUNT(*) FROM t1;
      

      The query is blocked while trying to acquire an S-latch on a block->lock on a clustered index page. The X-latch was acquired by buf_page_init_for_read(), and normally it should be released by buf_page_io_complete(). Added debug output in that function confirms that the function was being invoked for some pages, but not this one.

      Attachments

        Issue Links

          Activity

            marko Marko Mäkelä created issue -
            marko Marko Mäkelä made changes -
            Field Original Value New Value
            marko Marko Mäkelä made changes -
            wlad Vladislav Vaintroub made changes -
            Assignee Vladislav Vaintroub [ wlad ]
            wlad Vladislav Vaintroub made changes -
            Fix Version/s 10.0.32 [ 22504 ]
            Fix Version/s 10.0 [ 16000 ]
            Resolution Fixed [ 1 ]
            Status Open [ 1 ] Closed [ 6 ]
            marko Marko Mäkelä made changes -
            Fix Version/s 10.1.25 [ 22542 ]
            serg Sergei Golubchik made changes -
            Workflow MariaDB v3 [ 81197 ] MariaDB v4 [ 152312 ]

            People

              wlad Vladislav Vaintroub
              marko Marko Mäkelä
              Votes:
              0 Vote for this issue
              Watchers:
              2 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.