Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix misleading error messages #5297

Open
wants to merge 1 commit into
base: 8.0
Choose a base branch
from

Conversation

HashimSyedUBC
Copy link

When the upgrade process fails due to missing either one of the files, innodb_index_stats.ibd and innodb_table_stats.ibd, the same misleading error was logged: "Error in renaming mysql_index_stats_ibd".

To correctly log the error, separate the messages for missing innodb_{index,table}_stats.ibd files to two variables, and use the corresponding variable during upgrade process.

All new code of the whole pull request, including one or several files that are either new files or modified ones, are contributed under the BSD-new license. I am contributing on behalf of my employer Amazon Web Services, Inc.

When the upgrade process fails due to missing
either one of the files, innodb_index_stats.ibd
and innodb_table_stats.ibd, the same misleading
error was logged: "Error in renaming
mysql_index_stats_ibd".

To correctly log the error, separate the messages
for missing innodb_{index,table}_stats.ibd files
to two variables, and use the corresponding
variable during upgrade process.

All new code of the whole pull request, including
one or several files that are either new files or
modified ones, are contributed under the BSD-new
license. I am contributing on behalf of my
employer Amazon Web Services, Inc.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant