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

Reduce number of wsrep calls to server code from InnoDB

    XMLWordPrintable

Details

    Description

      Thread executing wsrep transaction can't change during transaction execution. Similarly, thread executing high priority brute force (BF) transaction does not change during transaction execution. Therefore, in both cases there is no need to call server code after transaction has initialized.

      InnoDB already stores information is this wsrep transaction to trx_t::wsrep and this is checked using trx->is_wsrep() function. Because, brute force transaction is always a wsrep transaction we can extend trx_t::wsrep variable so that value

          0 == not wsrep transaction (and not BF)
          1 == normal wsrep transaction
          2 == high priority BF wsrep transaction
          4 == high priority BF transaction is performing unique secondary index scan
      

      Attachments

        Activity

          People

            sysprg Julius Goryavsky
            janlindstrom Jan Lindström
            Votes:
            0 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.