• Marko Mäkelä's avatar
    MDEV-25265: ALTER TABLE...IMPORT TABLESPACE fails after DROP INDEX · 2e67b9f6
    Marko Mäkelä authored
    A side effect of the MDEV-24589 bug fix is that if
    FLUSH TABLE...FOR EXPORT is initiated before the history of an
    earlier DROP INDEX operation has been purged, then the data file
    will contain allocated pages that belonged to the dropped indexes.
    These pages would never be freed after a subsequent IMPORT TABLESPACE.
    
    We will work around this regression by making IMPORT TABLESPACE
    tolerate pages that refer to an unknown index.
    2e67b9f6
innodb-wl5522-debug.result 25.9 KB