HomePhabricator
Diffusion Comm 1e3a06e929d6

[keyserver] Pass `--performance-schema` to MariaDB in `docker-compose`

Tags
None
Referenced Files
F777164: b6254f.png
Sep 27 2023, 12:55 PM
File Not Attached
Subscribers
None

Description

[keyserver] Pass --performance-schema to MariaDB in docker-compose

Summary:
As I mentioned in D9304 it turns out we can totally just pass --performance-schema to mariadb. I was misled by some old MySQL (not MariaDB) docs as well as a comment someone left on GitHub that inaccurately stated that performance-schema had to be defined in a .cnf file and couldn't be passed as command line argument when started up. Annoying, but this is a much cleaner solution anyways.


Depends on D9304

Test Plan:
Confirmed that performance_schema was set as expected (docker-compose up):

b6254f.png (1×2 px, 212 KB)

Reviewers: ashoat, tomek, ginsu, rohan

Reviewed By: ashoat

Differential Revision: https://phab.comm.dev/D9307

Details

Provenance
atulAuthored on Sep 27 2023, 12:52 PM
Reviewer
ashoat
Differential Revision
D9307: [keyserver] Pass `--performance-schema` to MariaDB in `docker-compose`
Parents
rCOMMad467672c5c6: [nix] Enable `performance_schema` by default on Nix
Branches
Unknown
Tags
Unknown