Question
Accenture
JP
Last activity: 1 Nov 2017 5:20 EDT
Is there any way to rollback committed Hotfixes?
Hi,
After we installed latest critical missing hotfixes in our production enviroment, some errors occured so we need to rollback to original. But since we have committed the hotfixes in our production enviroment, so perhaps it is impossible to rollback from Hotfix Manager. Is there any way to rollback or delete Hotfixes?
Thanks
***Updated by moderator: Lochan to add Categories***
-
Like (0)
-
Share this page Facebook Twitter LinkedIn Email Copying... Copied!
Accepted Solution
Accenture
JP
I have communicated with GCS and they don't recommend deleting the records from DB, especially in Prod environment.There is no option to rollback or remove Hotfixes once committed.
(If the activity "@baseclass.DownloadFile" is used in your application custom code, please note that installing HFix-36549 will change the activity authority.)
Pegasystems Inc.
IN
Hi,
Have you taken database backup before deploying the fix ? If yes then reverting back to the previous checkpoint is the possible option.
Thank You
Accenture
JP
Thanks for you reply.
We have taken DB backup before install the hotfix, but we can not just revert back it, since it is installed in Prod and revert DB will affect end user bussiness operations. Is it possible to delete Hotfixes changes from DB directly?
Thanks,
Pegasystems Inc.
IN
Hi,
There is another way but little complicated.
You have to check the changes the hotfix has made and then delete appropriate rows from table.
You can see below post similar requirement has been discussed
https://collaborate.pega.com/question/remove-commited-hotfix-hfix-22433
Thank You.
Accenture
JP
Thanks for the information. But the Hotfix (HFix-36549 for PRPC ver7.2) we installed just contains some activity rules not engine class, so we can not find the appropriate rows from pr_engineclasses table . We are trying to find the Hotfix contents from other PR4_RULE_tables, but suppose we can find the appropriate rows, deleting them directly from DB is a good approach? Does it cause other potential problems?
Thanks
Pegasystems Inc.
IN
Hi,
If you go by definition you can not rollback.
https://community.pega.com/sites/default/files/help_v719/procomhelpmain.htm
But if you are desperate you would need to stop the nodes, delete the rule from the DB, and clear cache, but this is a again complex but it has no side effects.
Only thing is if the hotfix did affect any rule which you created that rule will no longer adhere to the hoxfix changes as it got reverted.
Thank You.
Accepted Solution
Accenture
JP
I have communicated with GCS and they don't recommend deleting the records from DB, especially in Prod environment.There is no option to rollback or remove Hotfixes once committed.
(If the activity "@baseclass.DownloadFile" is used in your application custom code, please note that installing HFix-36549 will change the activity authority.)
-
Lavanya M.S. Praveen Kesiraju Guangri Liang