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

Change buffer is not freed after dropping or rebuilding table

    XMLWordPrintable

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

            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.