Compatibility of psmdb-operator and psmdb-db

Hi all!
Because I am new in Percona and Mongodb I have one question about compatibility of psmdb-operator and psmdb-db. I installed both components with Helm charts. But here I do not understand (and I also did not find any documentation about it) how is here with compatibility of different versions. I realize that it is definitely best if both version are the same but sometimes it can be different.

For example, will everything work if I have:

  • psmdb-operator version 1.10.0 and psmdb-db version 1.12 or
  • psmdb-operator version 1.12.0 and psmdb-db version 1.10

Case from real environment. For example I have deployed one operator and 2 databases (2 replica sets: rs-test1 and rs-test2) all with version 1.11. Next I upgrade it to version 1.12 - operator and databases. And then because some issues I must rollback the operator and one database back to version 1.11. Now I have operator version 1.11, one replica set (rs-test1) version 1.11 and the other replicaset rs-test2 is still on 1.12.

Can I expect any problems? Do I have to downgrade also rs-test2 to 1.11?

And just a question for confirmation, upgrading the database and operators using Helm charts is upgrade without downtime. Right?

1 Like

Hello @b.kalan ,

the operator version should not be older than database custom resource.

To take your examples:

psmdb-operator version 1.10.0 and psmdb-db version 1.12 - NOT OK
psmdb-operator version 1.12.0 and psmdb-db version 1.10 - OK

To minimize the risk of issues and ensure that everything works as expected is to run the same major versions - 1.12 for Operator and 1.12 for CR (psmdb-db).

2 Likes