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

fts_optimize_wq accessed after shutdown of FTS Optimize thread

    XMLWordPrintable

Details

    Description

      In fts_optimize_remove_table(), InnoDB tries to access the fts_optimize_wq
      after shutdown the fts optimize thread. It affects debug build only

      The following code fails:

              ut_d(mutex_enter(&fts_optimize_wq->mutex));
              ut_ad(!table->fts->in_queue);
              ut_d(mutex_exit(&fts_optimize_wq->mutex));
      

      The issue was caused by the following commit:

      commit a41d429765c7ddb528b9b438c68b25ff55d3bd55
      Author: Thirunarayanan Balathandayuthapani <thiru@mariadb.com>
      Date:   Tue Oct 22 12:05:42 2019 +0530
          MDEV-20621 FULLTEXT INDEX activity causes InnoDB hang
      

      Attachments

        Issue Links

          Activity

            People

              thiru Thirunarayanan Balathandayuthapani
              thiru Thirunarayanan Balathandayuthapani
              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.