pinot icon indicating copy to clipboard operation
pinot copied to clipboard

Exception during ingestion on kafka topic deletion for multi topic table

Open Abhishek01911 opened this issue 3 months ago • 0 comments

Justification --

The ensureAllPartitionsConsuming function validates and repairs LLC (Low-Level Consumer) realtime segments to ensure all stream partitions have active consuming segments. It's called by the RealtimeSegmentValidationManager periodic task to detect and fix stuck partitions.

Currently we have seen if a topic gets deleted for multi topic table, it causes ingestion stop for the all the topics of the table. This happens due to uncaught exception in code. Here we try to fetch partition count for deleted kafka topic, and hence it results in an exception.

Catching this exception would prevent complete degradation and hence this exception should be caught and emitted as an metric, based on it we can alert the end user.

Abhishek01911 avatar Oct 20 '25 16:10 Abhishek01911