forked from percona/percona-server
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bug#35869747: Cannot drop index from upgraded instance
Analysis Tables of redundant row format having indexes of size greater than 767 bytes cannot be accessed after a successful upgrade to 8.0 An index with size greater than 767 bytes was permitted to be created on a table with redundant row format prior to 5.7.35 version. When such tables are upgraded to 8.0, they became inaccessible. During open table i.e dd_open_table(), the index size was validated resulting in an error since the redundant row format does not support indexes greater than 767 bytes. Fix Mark such indexes of invalid size as corrupt during dd_open_table(). This involved moving the index size check to later point in time in dd_open_table_one() i.e after dict_table_add_to_cache(). All operations which involves using the index will error out as index corrupted until the index is dropped. Change-Id: Iff3915028f1d3631af2fe85669891144ab048856
- Loading branch information
1 parent
7158b81
commit a79ed51
Showing
7 changed files
with
283 additions
and
59 deletions.
There are no files selected for viewing
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.