Page MenuHomePhabricator

[nix] upgrade mariadb from 10.8 to 10.11
ClosedPublic

Authored by will on May 13 2024, 3:39 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Dec 1, 10:47 PM
Unknown Object (File)
Fri, Nov 8, 5:51 PM
Unknown Object (File)
Oct 26 2024, 5:06 AM
Unknown Object (File)
Oct 26 2024, 5:06 AM
Unknown Object (File)
Oct 26 2024, 5:05 AM
Unknown Object (File)
Oct 26 2024, 5:01 AM
Unknown Object (File)
Sep 26 2024, 4:58 AM
Unknown Object (File)
Sep 26 2024, 2:28 AM
Subscribers

Details

Reviewers
ashoat
Group Reviewers
Restricted Owners Package(Owns No Changed Paths)
Commits
rCOMM57b16fd87e6a: [nix] upgrade mariadb from 10.8 to 10.11
Summary

The modification of the flake.nix file is just removing the mariadb v.10.8 overlay, automatically bumping us to v.10.11.

The mariadb-up script is also modified to check whether or not an upgrade is necessary. If required, it will run mariadb-upgrade.

For a dev currently on 10.8, after this is landed, the dev will

  1. pull the commit
  2. exit their terminals and any nix develop sessions
  3. pkill mariadb` if there is a running server process (ps aux | grep mariadb)
  4. nix develop

On this nix develop, it should identify an upgrade is required and print out upgrade progress

After this step, everything should be upgraded

Depends on D12021

Test Plan
  • Set up dev environment with a mariadb 10.8 versioned table
  • Launched an iOS simulator and exchanged messages between test users on a test community
  • Ran through the above upgrade steps
  • On a new iOS simulator, ensured that the messages were persisted from before and that new communities and users could be registered and exchange messages

Diff Detail

Repository
rCOMM Comm
Lint
No Lint Coverage
Unit
No Test Coverage