MemSQL upgrade from 5.8 to 6.7


#1

Hi,
We are upgrading to 5.8 to 6.7 version, unfortunately we dont have an option for upgrading online for this version. Prior to this we use to create a prod like cluster with same version and replicate the data until it is in sync with prod and then upgrade online at a later point when we are good with upgrade.

We wanted to run the cluster with high availability, but due to this major upgrade we are facing issue with the availability. Can you please let us know if there is better options to do the upgrade with the minimum downtime if online upgrade is not possible.


#2

Hello,

Thank you for your question! Online upgrade from MemSQL 5.X to MemSQL 6.X is not supported. This is because we made many large improvements to the clustering code between versions 5 and 6 that pose risks to an online upgrade procedure. Offline upgrade is the only supported & recommended option between these versions. Please see the following for more information on upgrading: https://docs.memsql.com/operational-manual/v6.7/upgrading-to-67/#step-3-upgrade-memsql.

Note that you can use the online process to upgrade between minor versions of MemSQL 6.X, please see the following link for more details on online upgrade: https://docs.memsql.com/operational-manual/v6.7/upgrading-to-67/#online-upgrade.


#3

Will this be always offline between all the major releases going further(6.x to 7.x or 7.x to 8.x) or only for 5.8 to 6.x versions.


#4

Can we take a 5.x backup, and restore it into a 6.x cluster? To ask another way, rather than upgrading our cluster, can we move the data into an already existing cluster running a higher version?


#5
  1. It is on the roadmap and we will most likely support online upgrade to future major versions (e.g., 6.x to 7.x…etc). We will know more about this when 7.0 is released.

  2. You can backup a 5.x cluster and safely restore it into a 6.x cluster.


#6

Thanks for the reply @rpourzan

One more question. Since we cannot replicate across 5 and 6, do you guys have any experience putting a SQL splitter in front of MemSQL? Something like https://github.com/sysown/proxysql/wiki ? The thought there is to have a splitter/proxy send writes to a 5 and 6 cluster, so we can keep both in sync, and then after a few weeks, when we are comfortable that the upgrade was successful, then pull the splitter and drop the old cluster.


#7

Yes, several customers have successfully used proxies like that in front of MemSQL, and that sounds like a good approach.


#8

I have been trying to update it but the update is not getting done and the installation is also getting interrupted as well. I think there must be a bug which is causing that.

Epson printer error code e-01