Enables increasing mariadb open files for noha deployments
authorTim Rozet <trozet@redhat.com>
Thu, 16 Feb 2017 19:21:32 +0000 (14:21 -0500)
committerTim Rozet <trozet@redhat.com>
Wed, 8 Mar 2017 20:33:16 +0000 (15:33 -0500)
commit900ddfb27f0dd2afd8345d89a78b624f647b255d
tree5d63aa6bc4215c1d86da8ae2c058820036459176
parent71bac87cffcfc69f8b99babca39e34a9dc6e4588
Enables increasing mariadb open files for noha deployments

There is currently an issue where the max open files limit is hit with
MariaDB in noha deployments, because it is defaulted to 1024 by system
limits.  In HA deployments the limit is bumped to 16384.  This patch
introduces a flag to be able to increase the limit to 16384 for noHA
deployments.

In the future we should change this to be an integer, and let the
operator decide the setting.  Since this setting is set in a different
path for HA, we would need to implement a change that allows setting
both (ha and nonha) via the same integer param.

Depends-On: Ia0907b2ab6062a93fb9363e39c86535a490fbaf6

Closes-Bug: #1648181
Related-Bug: #1524809

Change-Id: I95393fc798b833a8575afbff03ef74a839565c5e
Signed-off-by: Tim Rozet <trozet@redhat.com>
puppet/services/database/mysql.yaml