It would be very nice if PMM could recognize it's downgraded and let the user know somehow. It's very easy to make that mistake, especially when using docker.
Solutioning options
bashscript
pmm init script
Expected result
CLI warning msg and server UI won't start
introduce new env var to skip PMM_ALLOW_FORCE_DOWNGRADE to allow downgrade
How to test
Downgrade version in dashboard file and restart PMM.
Would be great to QAA downgrade 1 version back and PMM still somewhat operational.
How to document
Separate topic explaining downgrade is not supported and how to do it on your own risk.
Downgrades of PMM are not supported and in practice they can cause some issues:
"
Downgrades are not supported. To go back to using a previous version you must have created a backup of it before upgrading.
"
https://docs.percona.com/percona-monitoring-and-management/setting-up/server/docker.html#upgrade
It would be very nice if PMM could recognize it's downgraded and let the user know somehow. It's very easy to make that mistake, especially when using docker.
Solutioning options
bashscript
pmm init script
Expected result
CLI warning msg and server UI won't start
introduce new env var to skip PMM_ALLOW_FORCE_DOWNGRADE to allow downgrade