HCL Commerce Version 9.1.12.0 or later

Troubleshooting: Ingest status "unknown' messages during build

During the postreindex stage of a full index run, the Ingest status is listed as "Unknown" numerous times.

Problem

While doing a complete index build, you may encounter messages similar to the following numerous times.
https://ingest_server/connectors/auth.reindex/runs/i-891acb75-acde-4c60-93b1-afd68a76330a/status
{   "date": "2023-02-25T11:06:28.214",
   "runId": "i-891acb75-acde-4c60-93b1-afd68a76330a",
   "fromType": "Ingest",
   "message": "Status unknown. Details: Indexing Job is Completed. No summary retrieved from ES and so unable to determine status. Last log:Successfully initialized auth.workspace index dynamic mappings",
   "status": 4,
   "progress": "0% - 100%" } 

Solution

The likely cause for the message is a temporary timeout situation. If the process continues reloading it can eventually return a completed status. To ensure that a completed status is returned after the pipeline completes in the postreindex stage, use the following additional parameter in the indexing call. The returned status will contain the status code without the name of the pipeline.

https://ingest_server/connectors/auth.reindex/runs/i-891acb75-acde-4c60-93b1-afd68a76330a/status?detailedRunningStatus=false