MXS-2773: Make host blocking an optional feature

In cases where servers are known to be down on startup, this feature does
more harm than good. Disabling it in these cases would be preferable but
due to how the parameter is used, it is not possible.
This commit is contained in:
Markus Mäkelä
2019-11-28 17:43:57 +02:00
parent 09e6d9eeae
commit ab8393939b
4 changed files with 27 additions and 14 deletions

View File

@ -1038,7 +1038,8 @@ unexpected outage happens.
The maximum number of authentication failures that are tolerated before a host
is temporarily blocked. The default value is 10 failures. After a host is
blocked, connections from it are rejected for 60 seconds.
blocked, connections from it are rejected for 60 seconds. To disable this
feature, set the value to 0.
Note that the configured value is not a hard limit. The number of tolerated
failures is between `max_auth_errors_until_block` and `threads *