Rule Search Index Not Being Updated / pyFTSIncrementalIndexer Exception Pega 8.1.3
The Rule Search Index is not being updated.
Upon checking the PegaRULES log file, the pyFTSIncrementalIndexer is throwing out exception.
The following is the first couple lines from the PegaRULE log file:
2019-05-22 14:57:14,048 [CHEDULER_THREAD_POOL] [ STANDARD] [ ] [ ] (ueueProcessorFailedRunsManager) ERROR - Unable to re-start failed queue processor pyFTSIncrementalIndexer. Caught exception: Cannot resubmit the run [pyFTSIncrementalIndexer] because some of its partitions are not in end state
java.lang.IllegalStateException: Cannot resubmit the run [pyFTSIncrementalIndexer] because some of its partitions are not in end state
PRPC Version: 8.1.3
***Edited by Moderator: Lochan to update SR details***
As per tSR-D17907 notes,The root cause of this issue is When a Queue Processor's Kafka partition ends up in an unknown state, the automatic restart does not clear the partition which results in the exception, and the queue processor fails to be restarted.
It got resolved by using the API function pxStartRunByID, and pass it the failed queue processor's name. This API function will reset the state of the partition when it starts the run.
You can verify the Queue Processor is running normally from the Admin Studio > Resources > Queue Processor page.
In 8.1.6, this is addressed by having the automatic restart functionality also reset the state of the kafka partition when a failed run is restarted.
Keep up to date on this post and subscribe to comments