Rolling Back the Upgrade Version
This section describes how to roll back to the source version.
Procedure
Log in to the node as a database user (for example, omm).
Run the following command to roll back the kernel code. After the rollback is complete, run the gs_preinstall script in the old package to ensure that the kernel version is the same as the OM code version. For details, see Execute the gs_preinstall script.
gs_upgradectl -t auto-rollback -X /opt/software/GaussDB_Kernel/clusterconfig.xml
NOTE: If the database is abnormal, run the following command to forcibly roll back the upgrade:
gs_upgradectl -t auto-rollback -X /opt/software/GaussDB_Kernel/clusterconfig.xml --force
Check the version number after the rollback.
gs_om -V | --version
Feedback