Support Article
Rule Search Index is not updated
Summary
The Rule Search Index is not updated.
The queue processor page in Admin Studio displays pyFTSIncrementalIndexer in a Failed state.
Error Messages
Error message from the PegaRULES log:
[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
Steps to Reproduce
Unknown.Root Cause
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. Subsequently, the queue processor fails to restart.
Resolution
Perform the following local-change:Use the pxStartRunByID API function, and pass it to the failed queue processor's name. This API function resets the state of the partition when it starts the run.
Published January 20, 2020 - Updated December 2, 2021
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.