Page MenuHomePhabricator

mariadb::config: parameterize event_scheduler
Closed, ResolvedPublic

Description

There are currently 17 mysql configs that set event_scheduler. One of them sets the value depending on the hostname (modules/profile/templates/mariadb/mysqld_config/db_inventory.my.cnf.erb). This should be a parameter to mariadb::config, so it can be set via hiera.

Details

Related Changes in Gerrit:

Related Objects

Event Timeline

• Kormat removed a project: User-jbond.
• Kormat removed subscribers: jbond, LSobanski.
Marostegui subscribed.

I am ready to deploy this, not do it on a Friday though. I have the patch ready for Monday.
Slightly changed this, the event_scheduler should be enabled by default, there is no reason to keep it disabled now that we don't have a massive amount of events on hosts like tendril.

Change 771884 had a related patch set uploaded (by Marostegui; author: Marostegui):

[operations/puppet@production] mariadb: Enable event_scheduler

https://gerrit.wikimedia.org/r/771884

Change 771884 merged by Marostegui:

[operations/puppet@production] mariadb: Enable event_scheduler

https://gerrit.wikimedia.org/r/771884

I have finally enabled this today, as it only affects the event_scheduler, which is already ON everywhere.