-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
MDEV-34900: Fix stage names for profiling #3594
base: main
Are you sure you want to change the base?
MDEV-34900: Fix stage names for profiling #3594
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for your first contribution to MariaDB.
Code looks correct.
If you git grep 'Sending data'
you'll see quite a few test cases that are dependant on this test. Likely they will fail. Test can be re-recorded with mysql-test/mtr --record innodb.innodb-lock
as example. This will update a .result
file. git commit --amend {these files}
to include them in your previous commit message and git push --force
to update this PR.
Also improve the commit message by starting the the MDEV, like you did for the PR title. Include in the message the rational for the change (straight from JIRA entry is fine).
Once that happens, we'll look again at how the CI ran against these changes.
FYI: I looked at stage_sending_data
in sql/sql_admin.cc and I think it can stay as is.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approve for running in CI
@SaitejSamudrala Thank you for your contribution! Can you also please sign the |
Hi, these are the changes in the .result file I am getting after running |
Ah, if related to the state, |
Description
This PR addresses MDEV-34900 by renaming
stage_executing
to "Prepare for executing" andstage_sending_data
to "executing" inJOIN::exec_inner()
to better reflect the actual process during profiling.Release Notes
Renaming few of the profiler stages.
If the changes are not amenable to automated testing, please explain why not and carefully describe how to test manually.
Basing the PR against the correct MariaDB version
main
branch.PR quality check