Last activity: 4 Oct 2018 13:54 EDT
What is the use of PegaRULES_Extract_Marker file
I have a few questions on PegaRULES_Extract_Marker file:
1. What necessitated us to create an external file PegaRULES_Extract_Marker
2. What exactly happens when we delete the file and restart our node.. Apart from clearing of StaticContent folder contents.
2. Why is it necessary to delete the PegaRULES_Extract_Marker file after installing hotfixes.
***Edited by Moderator Marissa to update categories***
**Moderation Team has archived post**
This post has been archived for educational purposes. Contents and links will no longer be updated. If you have the same/similar question, please write a new post.
During installation, small text file named PegaRULES_Extract_Marker.txt is created in the temporary files directory, recording the date and time that all libraries and functions were extracted into Java and compiled.
You can force re-extraction and recompilation of all the libraries and functions on one node by deleting this file. The extraction and compilation occurs the next time PRPC is started on that node.
This start-up step also clears specific disk directories:
Deletes all generated Java files (from PRGenJava and PRGenClass directories) before the extraction
Clears the StaticContent directory, which includes ServiceExport
Clears the lookup list caches
Any idea on the impact this has on the database tables?
When it clears all the assemblies PRGenJava and PRGenClass, does it generates all the class of Platform, App again..
Does it clear the pr_assembledclasses table and repopulate again?
Yes, this will have an impact on the cache tables on the DB, hence whenever you clear the extract marker and restart the cache tables like assembledclasses gets populated and this will impact the performance till you have everything in the cache.
Can you also please provide some insight into an hotfix installation and its relation with marker file.. I had been instructed to delete marker file whenever there is a hotfix installation.
Why should we delete the file after hotfix installation?
Whenever you install a hotfix containing any changes to the Java class of the PRPC code base it needs to be recompiled and available in the cached tables, hence support suggest you to clear the extract marker file and restart the server instance. But you can make sure if the fix contains only changes to the PRPC rules and not to the java code, you can skip the same
If i tinker with the contents of the marker file and restart it would it have any impact.
I mean during startup would it just check if the file is existing or would it parse the content to find anything?
Its not just the availability, the content(build version, date, codeset version etc) will also be verified by the system, so you should not be modifying the file
American Express Technologies
Is it Mandatory to Clear PegaTempDir everytime the system is restarted? Does clearing PegaTempDir has any benefits when the node is restarted?
It is not mandatory to clear PegaTempDir everytime after the jvm restart, if you want to clear the Lookup List Cache(i.e.PegaTempDir) data during the restart then only you need to perform this action. Generally you can see this step during the hotfix installation process.
Thank you Mahesh