Index regeneration fails while running ReCreateIndexesForClass
The developer needs to regenerate the indexes of a class in their application. They executed the standard activity named Code-.ReCreateIndexesForClass to create index instances for all instances in a concrete source class but faced an error.
Problems were encountered when regenerating indexes--see log for details: code: <none> SQLState: <none> Message: <none>
Logs: 2016-05-02 14:14:22,253 [ STANDARD] [ PegaRULES:07.10] ( internal.access.DatabaseImpl) ERROR abc.xyz.com|220.127.116.11 Remote.Support - Encountered problem when performing a Commit
2016-05-02 14:14:22,256 [ STANDARD] [ PegaRULES:07.10] (sForInstance._baseclass.Action) ERROR abc.xyz.com |18.104.22.168 Remote.Support - Problem updating instance PEGASAMPLE W-232
Steps to Reproduce
- Open standard activity RecreateIndexesForClass
- Execute with class parameter <ClassName>
A defect in Pegasystems’ code or rules :
The activity being used by customer is not production ready.
User needs to update to Pega version 7.2.1 in order to use the activity effectively.
In Pega 7.2.1, A new REST service pzExposeColsService is added to handle index regeneration requests from prpcServiceUtils.bat/sh
It forwards the request to an activity "pzRunExposeColsHandler" which does the index generation job
Both the rest service or the activity takes the parameters "list of classes" and include descendants
as in the column populate API
0% found this useful