This repository has been archived by the owner on Sep 21, 2022. It is now read-only.
added wait_timout and innodb_force_primary_key #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.
Thanks for opening a PR. Please make sure you've read and followed the Contributing guide, including signing the Contributor License Agreement.
Feature or Bug Description
What does this PR change?
added option to configure
wait_timeout
andinnodb_force_primary_key
Motivation
The default value for
wait_timeout
is 8 hours which lead to a problem of reaching the definedmax_connections
to fast if the applications are not closing the connection after using them or if they create an unlimited pool connection that must of the time is insleep
mode and just consuming connections.The
innodb_force_primary_key
is to prevent extra load in the cluster more details here https://jira.mariadb.org/browse/MDEV-5335Related Issue
#197