Skip to content
This repository was archived by the owner on Jun 11, 2019. It is now read-only.
This repository was archived by the owner on Jun 11, 2019. It is now read-only.

Mysql config file must be written before mysql server package is installed #69

@tobixen

Description

@tobixen

Found yet another obscure "bug". This time I'm on Ubuntu 14.04 (this may be a problem at RHEL7 as well - will check that up eventually).

We're populating the mysql config file through the mysql::template and mysql::options class parameters. innodb_log_file_size is among the parameters we set there.

Mysql won't start if the innodb_log_file_size config differs from the real size of the innodb_log_file - and mysql will create the innodb_log_file using the default file size if the config file doesn't exist when the package is installed. (we're explicitly setting it in the config now as we crashed with another weird bug in production the other day - in percona xtradb cluster the default innodb_log_file_size is 48M, while in the xtradbbackup tool the default size is 5M).

Today, the mysql config file requires the mysql package. I'll try to switch it around, unless there is a good reason for this dependency?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions