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

Change buffer is not freed after dropping or rebuilding table

Details

    Description

      When MDEV-19514 removed the change buffer merges in the background, it introduced a minor regression: After DDL operations that drop or rebuild a table, any entries in the change buffer could survive until a slow shutdown innodb_fast_shutdown=0 is executed.

      We can do better: Before returning from fil_delete_tablespace(), invoke ibuf_delete_for_discarded_space(). In that way, the only way to have change buffer ‘leaks’ is to kill the server and never initiate a slow shutdown.

      Attachments

        Issue Links

          Activity

            marko Marko Mäkelä created issue -
            marko Marko Mäkelä made changes -
            Field Original Value New Value
            marko Marko Mäkelä made changes -
            issue.field.resolutiondate 2020-03-31 11:45:10.0 2020-03-31 11:45:10.502
            marko Marko Mäkelä made changes -
            Fix Version/s 10.5.3 [ 24263 ]
            Fix Version/s 10.5 [ 23123 ]
            Resolution Fixed [ 1 ]
            Status Open [ 1 ] Closed [ 6 ]
            serg Sergei Golubchik made changes -
            Workflow MariaDB v3 [ 106383 ] MariaDB v4 [ 157517 ]
            marko Marko Mäkelä made changes -

            People

              marko Marko Mäkelä
              marko Marko Mäkelä
              Votes:
              0 Vote for this issue
              Watchers:
              1 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.