5.6 - Create default file for debian init script timeout params (bug1434022) #220
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.
BUG:
https://bugs.launchpad.net/percona-server/+bug/1434022
So this is basically to create a /etc/default/mysql file with two variables that user can change if the defaults don't work for him (eg. large buffer pools).
startup_timeout=900
stop_timeout=300
The defaults file is sourced from the init script.
TEST BUILDS:
http://jenkins.percona.com/job/percona-server-5.5-debian-binary/151/
http://jenkins.percona.com/job/percona-server-5.6-debian-binary/58/
http://jenkins.percona.com/job/percona-server-5.6-debian-binary-notokudb/26/
5.5 TEST UBUNTU TRUSTY:
INSTALL:
SERVICE STOP/START:
5.6 TEST ON UBUNTU TRUSTY
Actually had a problem on 5.6 with:
2015-11-02 03:21:43 1930 [ERROR] /usr/sbin/mysqld: unknown variable 'innodb-numa-interleave=1'
2015-11-02 03:21:43 1930 [ERROR] Aborting
But that's because of some upstream merge and the server had actually waited for 15min to timeout while starting which is ok.