You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The public repo has one tag per image that we have deployed broadly, with the format `8.0.23-ps1`. In general, create a commit only when rolling out a new image, which means there will be one tag per commit. The semver in each tag is the upstream version the build is based on. The final number (`1` in `ps1`) in each tag is sequential and has no semantic (i.e., compatibility) meaning.
26
+
The public repo has one tag per image that we have deployed broadly, with the format `8.0.30-ps1`. In general, create a commit only when rolling out a new image, which means there will be one tag per commit. The semver in each tag is the upstream version the build is based on. The final number (`1` in `ps1`) in each tag is sequential and has no semantic (i.e., compatibility) meaning.
27
27
28
28
# Developing
29
29
@@ -40,7 +40,7 @@ git remote add public [email protected]:planetscale/mysql-server
Create your development branches and PRs off of `8.0.23`, for now.
43
+
Create your development branches and PRs off of `8.0`.
44
44
45
45
Create a local branch for public releases:
46
46
@@ -54,6 +54,8 @@ Every commit to the `8.0` (default) or `8.0.23` branch gets built in CI and push
54
54
55
55
For more about container management, see [`registry.md`](registry.md).
56
56
57
+
As new versions are released upstream, wait two months or so to ensure they are stable, and then use a PR merge them into the `8.0` branch of `mysql-server-private`.
58
+
57
59
# Deployment
58
60
59
61
Anytime there are changes worth deploying, do an open-source code dump, and update all the release channels.
@@ -68,7 +70,7 @@ git push public 8.0.NN-psN
68
70
69
71
For the release channels, read the Vitess docs [here](https://coda.io/d/Vitess-Upgrades_dy3xDEfjOx5/Vitess-Upgrades_sui49), and do the MySQL equivalents. In short, create an api-bb PR to update `MYSQLD_VERSIONS` in [`database_branch.rb`](https://github.com/planetscale/api-bb/blob/main/app/models/database_branch.rb#L174), disable the [`update_mysqld_image_version`](https://admin.planetscale.com/admin/feature-flags/update_mysqld_image_version) feature flag, merge the api-bb PR, and slowly increment the feature flag to 100%. Normally, new code goes to the `next` channel only. Repeat the process with `stable` and `oldstable` a day or a week later until all branches are running the desired version of MySQL.
70
72
71
-
The update process will never downgrade the version of MySQL on a cluster. An image is newer if its MySQL version (e.g., `8.0.30`) is higher, or if the MySQL version is the same and the build date is higher. A branch-deployed image (e.g., `8.0.23-20220601-ps-branchname`) is always pinned and does not get replaced by the update process.
73
+
The update process will never downgrade the version of MySQL on a cluster. An image is newer if its MySQL version (e.g., `8.0.30`) is higher, or if the MySQL version is the same and the build date is higher. A branch-deployed image (e.g., `8.0.30-20221006-ps-branchname`) is always pinned and does not get replaced by the update process.
0 commit comments