-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Maria 10.2/10.3? #5
Comments
Thanks very much for sharing. Can you provide some error messages? |
Upgrading minor version needs some extra work. At least the
I'm not sure if it's possible to automate the process since procedures are slightly different. What do you think? |
There might be another solution: to build a slave. Deploy another Galera cluster with upgraded version. Connect it via MySQL replication and then promote it to master. Haven't tried but seems like a valid approach. |
Thanks for the reply. I'm sorry if I wasn't clear but I'm actually just talking about a fresh install using your example, not an upgrade. If you clone this repo and change the version numbers from 10.1 to 10.2, it won't stand up, which is a shame since 10.2 is the current stable release. mysql-0 starts, mysql-1 enters a crash loop and mysql-2 never starts (consistent with how stateful sets launch in order). Steps to reproduce after cloning this repo and entering the example folder: $ sed -i -e 's/10\.1/10\.2/g' mysql.yaml
$ minikube start
$ kubectl apply -f . mysql-0 enters Running state fine. Then mysql-1 starts up and fails with the following logs:
It restarts and produces this the second time around before crashing (and this repeats in a crash loop):
Here are the logs from mysql-0 during all of this:
|
Meanwhile, with 10.1, you get the same initial failure for mysql-1 (and mysql-2) but the second starts work:
mysql-0:
|
Thank you for the clarification. I'll look into this one. |
I'm not well versed in the changes these versions introduced but I have confirmed locally that they aren't drop-in replacements in this project. Do you know what would be needed for that to work?
The text was updated successfully, but these errors were encountered: