This repository has been archived by the owner on Apr 13, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 10
Default file name changed ; MYCHECK_RCPT can now be set from the default file ; check_for_crashed_tables() fixed and now checks Aria tables and exclude I_S & P_S #27
Merged
Merged
Conversation
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
…variable can now be set from the default file ; The check_for_crashed_tables() function on the debian-start script has been fixed and now also checks Aria tables
Thanks for the pull request! Please rebase on latest git master since we just uploaded 10.0.20-3. Also please run |
…its inclusion on the init script corrected to the new filename
…variable can now be set from the default file ; The check_for_crashed_tables() function on the debian-start script has been fixed and now also checks Aria tables
…its inclusion on the init script corrected to the new filename
There is a "set -e" at the beginning of the function that forces the script to stop if a command ends with a status !=0 and the "mysql" command returns with a status code !=0 if the SELECT COUNT(*) query is done on a crashed table which just stops the function before it could have logged and mailed the problematic table(s). A "set +e" has been added just before the execution of the "mysql" command so the execution will continue if a crashed table is encountered. If a crashed table was encountered, the "mysql" command will return with a status different from 0
I did compile and test the packages on Jessie amd64 :
Here is a sample of the content of a mail sent by the check script :
And a sample of the output on the syslog :
|
ottok
added a commit
that referenced
this pull request
Jul 28, 2015
Improved init script options behaviour * Default file name changed * MYCHECK_RCPT can now be set from the default file * check_for_crashed_tables() fixed and now checks Aria tables and exclude I_S & P_S
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.