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

Use fewer transactions for updating InnoDB persistent statistics

    XMLWordPrintable

Details

    Description

      The function dict_stats_save() is problematic. If it ever goes to 'goto err' it will attempt to free an active transaction object, without trying to roll it back first.

      Furthermore, the first call to dict_stats_exec_sql() will use a different transaction object, that is, the update of table statistics is not a single atomic transaction with the update of index statistics.

      Attachments

        Issue Links

          Activity

            People

              marko Marko Mäkelä
              marko Marko Mäkelä
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0d
                  0d
                  Logged:
                  Time Spent - 4.5d
                  4.5d

                  Git Integration

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