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

    XMLWordPrintable

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

            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.