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)
Mon, Jun 24, 8:43 AM
Unknown Object (File)
Mon, Jun 24, 4:06 AM
Unknown Object (File)
Fri, Jun 21, 3:05 AM
Unknown Object (File)
Thu, Jun 20, 3:59 PM
Unknown Object (File)
Wed, Jun 19, 8:58 AM
Unknown Object (File)
Wed, Jun 19, 8:58 AM
Unknown Object (File)
Wed, Jun 19, 8:58 AM
Unknown Object (File)
Tue, Jun 18, 5:25 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
Lint Not Applicable
Unit
Tests Not Applicable