Search is re-indexing whenever a pod restarts!

Hi,

Greetings. We are using Pega 8.8.2 in containarized deployment with elastic search externalised. When we re-index Rules via Search Landing Page, pods are getting restarted with OOM but whever this happens the re-indexing is happening from the start. We have 6 pods allocated to BackgroundProcessing,Search NodeTypes. When re-indexing is starting when pod restarts, the queue size for pyBatchIndexerProcessor is increasing.

We have a heap of ~24G allocated per each pod.

Can anyone please tell me how to make sure that re-indexing does not happen every time a pod is restarted?

Regards,

Bharat

@KOMARINA

Hello,

Re-indexing will happen if the directory is no more there or if the node name has changed.

In some way, PEGA is unable to locate the expected content, so process fully restarts.

You could maybe check whether the restart doesn’t trigger some unexpected directory cleaning.

Same for the node name. Is it defined and always same?

Regards

Anthony

@Anthony_GourtayRe index of search is automatically started after we did node restart where pegasearch is bulid. We havent did any chnages in node name or directory.