issue: https://linear.app/comm/issue/ENG-3349/test-setting-innodb-ft-min-token-size
In D7266 we set innodb-ft-min-token-size and innodb-ft-enable-stopword variables in the db run in Docker. We also need a way for these variable to be set in our local environments. This diff addresses the Nix
MariaDB instances. The legacy instances will have to be updated manually, and a proper instruction will be provided in the linear task, as well as on the Comm Dev Team channel.
I would be grateful if someone could check if the messages printed by db_usage and usage functions are reasonable.
Details
Details
- Reviewers
• jon ashoat - Group Reviewers
Restricted Owners Package (Owns No Changed Paths) - Commits
- rCOMMeaf79b7b72a8: [nix] Set db variables in our local environments
Running a nix db instance, I ran comm-dev db restart and checked that the variables were set to 1 and 0, respectively.
Diff Detail
Diff Detail
- Repository
- rCOMM Comm
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
nix/mariadb-up-mac.nix | ||
---|---|---|
28 ↗ | (On Diff #24593) | Wondering if the rest of the parameters in keyserver/docker-compose.yml should be here too: --max-allowed-packet=256M --local-infile=0 --sql-mode=STRICT_ALL_TABLES --innodb-buffer-pool-size=1600M |
nix/mariadb-up-mac.nix | ||
---|---|---|
28 ↗ | (On Diff #24593) | I don't really know, probably yes, but I think @jon has better context. And I will land this diff, since it has been accepted |