Page MenuHomePhabricator

MariaDB package improvements
Closed, ResolvedPublic

Description

  • Run install automatically (we no longer need mysql and mariadb installed at the same time)
  • Fix dependencies (libaio, openssl, jemalloc)
  • Integrate better with systemd

Event Timeline

  • init.d script fails if no parameters is specified instead of showing available ones:
# /etc/init.d/mysql
/opt/wmf-mariadb10
/etc/init.d/mysql: 110: shift: can't shift that many
  • Currently, if systemd is used, systemd runs mysqld_safe and it runs mysqld (would mysqld_safe needed?).
  • Shutdown should pause until mysql has completely stopped (buffer pool, double write and transaction log). Maybe issuing a stop slave.
  • If pooling system is refactored, systemd should also depool the server automatically (but not repool it)
jcrespo claimed this task.

This is too ambitious- packaging was improved. Systemd was analyzed as not working (except on compatibility mode) for 5.6/10.0.

Change 322147 had a related patch set uploaded (by Jcrespo):
mariadb: Update package creation method

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

Change 322147 merged by Jcrespo:
mariadb: Update package creation method

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