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

ha_innobase::open() should not acquire dict_sys.latch twice

    XMLWordPrintable

Details

    Description

      The following stack trace had to wait on dict_sys.latch:

      ssux_lock_impl<false>::rd_wait()
      dict_table_open_on_name(char const*, bool, dict_err_ignore_t)
      dict_stats_update(dict_table_t*, dict_stats_upd_option_t)
      ha_innobase::info_low(unsigned int, bool)
      ha_innobase::open(char const*, int, unsigned int)
      handler::ha_open(TABLE*, char const*, int, unsigned int, st_mem_root*, List<String>*)
      

      (According to Marko Mäkelä: ) This one is an InnoDB bug. We certainly should not acquire and release a shared dict_sys.latch within a single ha_innobase::open().

      Attachments

        Issue Links

          Activity

            People

              marko Marko Mäkelä
              maxk Max Kellermann
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:

                Git Integration

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