~akopytov/percona-server/bug901775-5.5

Viewing all changes in revision 199.

  • Committer: Alexey Kopytov
  • Date: 2011-12-09 18:26:20 UTC
  • Revision ID: akopytov@gmail.com-20111209182620-doecq6ns21q7vtax
Bug #901775: innodb_expand_import holds data dictionary mutex while
scanning .ibd file

The problem was that ALTER TABLE ... IMPORT TABLESPACE with
innodb_import_table_from_xtrabackup=1 was holding the data dictionary
mutex while scanning the .ibd file being imported, thus blocking access
to all InnoDB tables for a potentially long time.

Fixed by temporarily releasing the data dictionary mutex for the
duration of an .ibd file scan, and then reacquiring it later to finalize
the necessary data dictionary changes.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: