You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Bug#35410528 : INSTANT DDL crashes 8.0.32 after upgrading from 5.7.41
Background:
When tables are loaded in mem cache (dict_table_t) they go through
fill_dict_table() which makes sure all in mem metadata is updated
for the tables correctly.
But in case of upgrade from 5.7, tables are loaded in dict_table_t
cache from dict_load_table(). And then it remains in cache to be used.
Issue:
During upgrade, when the table is loaded from dict_load_table(), it
doesn't set the initial/current/total/_column_count metadata of
dict_table_t. Which causes issues when table is used after INSTANT
ADD/DROP DDL.
Note this is done only once and next server restarts, the table is
loaded from fill_dict_table() function. And this is why if there is a
restart after upgrade, the issue is not seen.
Fix:
Made sure when the table is loaded from dict_load_table() during
upgrade, the column count metadata is also set correctly.
Change-Id: I7729a9e03683737bfe8b3025203f31551b710f70
0 commit comments