Hi Team, We are facing an issue where during inges...
# troubleshooting
s
Hi Team, We are facing an issue where during ingestion from Kafka, segments are not getting created correctly on a specific server. Below are the details and observations: We received the following response from the Pinot debug API for a problematic segment:
Copy code
{
  "segmentName": "cns_notification_content__1__127__20250127T1224Z",
  "serverState": {
    "Server_pinot-server-5.pinot-server.pinot.svc.cluster.local_8098": {
      "idealState": "CONSUMING",
      "externalView": null,
      "segmentSize": null,
      "consumerInfo": null,
      "errorInfo": null
    }
  }
}
Segment was in consuming state for more than 12 hours and no new segments were created on that server until we restarted it. After restarting the affected server, the debug API showed the following state:
Copy code
{
  "segmentName": "cns_notification_content__1__127__20250127T1224Z",
  "serverState": {
    "Server_pinot-server-5.pinot-server.pinot.svc.cluster.local_8098": {
      "idealState": "ONLINE",
      "externalView": "ONLINE",
      "segmentSize": null,
      "consumerInfo": null,
      "errorInfo": null
    }
  }
}
While restarting the server resolves the issue temporarily, we have encountered similar issues on other servers previously, where any segment created would remain stuck in the CONSUMING state until the server was restarted. cc: @Anand Kr Shaw