kowshik commented on a change in pull request #10280: URL: https://github.com/apache/kafka/pull/10280#discussion_r648132657
########## File path: core/src/main/scala/kafka/log/LogLoader.scala ########## @@ -246,17 +262,17 @@ object LogLoader extends Logging { return fn } catch { case e: LogSegmentOffsetOverflowException => - info(s"${params.logIdentifier}Caught segment overflow error: ${e.getMessage}. Split segment and retry.") - Log.splitOverflowedSegment( + info(s"${params.logIdentifier} Caught segment overflow error: ${e.getMessage}. Split segment and retry.") + val result = Log.splitOverflowedSegment( e.segment, params.segments, params.dir, params.topicPartition, params.config, params.scheduler, params.logDirFailureChannel, - params.producerStateManager, params.logIdentifier) + deleteProducerSnapshotsAsync(result.deletedSegments, params) Review comment: I've created a jira to track this. https://issues.apache.org/jira/browse/KAFKA-12923 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org