-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
mysqlctl: Cleanup stale socket lockfile #14553
mysqlctl: Cleanup stale socket lockfile #14553
Conversation
Review ChecklistHello reviewers! 👋 Please follow this checklist when reviewing this Pull Request. General
Tests
Documentation
New flags
If a workflow is added or modified:
Backward compatibility
|
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.
I love the tests, but I think having the comments in the code (that are there in the tests) would be benifitial. Rest looks good to me.
0fe3b79
to
cab36c5
Compare
When we know the lock file is stale, we can clean it up safely inside `mysqlctl` so that we can safely start MySQL again. Signed-off-by: Dirkjan Bussink <[email protected]>
cab36c5
to
9e0d0fb
Compare
I have extensively commented it and added some more logging as well in case of errors. |
Signed-off-by: Dirkjan Bussink <[email protected]>
When we know the lock file is stale, we can clean it up safely inside
mysqlctl
so that we can safely start MySQL again.Related Issue(s)
Fixes #14552
Checklist