Rule Search Index does not finish
SummaryUser went to the menu option User System > Settings > Search landing page and started the indexing.
Although the process completed for Work and Data instances, it stopped for Rules at around 65,000 records.
The search landing page and PegaRULES log file have no error reported.
Error MessagesNot applicable
Steps to Reproduce
- Go to Search Landing page.
- Select Rules Reindex.
Root CauseA defect in Pegasystems’ code or rules.
The indexing process adds rows to
pr_log_cluster table as instances of Log-Cluster-FTSIndex when an error is encountered while indexing.
These entries from the time when issue was reported reveal that indexing is failing due to "caught exception during autocommit check" error.
This error occurs when Pega returns a database Connection back to the jdbc connection pool once the current request processing is complete.
Pega checks if auto commit is marked to the appropriate value before returning the connection back to the pool. This error occurs when it gets the auto commit value on a closed connection.
ResolutionPerform the following steps:
- Apply Hfix-29715.
- Restart JVM for the engine code change to take effect. The code now handles the Connection Closed Exception and removes the bad connection from the pool when appropriate.
Published October 12, 2016 - Updated October 20, 2016