Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
3.4.1
-
None
-
None
-
Important
Description
In one of our 3 node kafka cluster deployment we are observing crash while trying to delete log segment during retention time breach . This issue is occurring very frequently in production systems.
we are unable to find the root cause of this issue. Requesting you to help us on the same
Logs:
[2024-06-13 11:43:44,768] INFO [UnifiedLog partition=FMAASEVENTS-1, dir=/kafka/kafka-logs-kafka-1] Deleting segment LogSegment(baseOffset=21318, size=696800
, lastModifiedTime=0, largestRecordTimestamp=Some(1718019689005)) due to retention time 259200000ms breach based on the largest record timestamp in the segm
ent (kafka.log.UnifiedLog)
[2024-06-13 11:43:44,770] ERROR Error while deleting segments for FMAASEVENTS-1 in dir /kafka/kafka-logs-kafka-1 (kafka.server.LogDirFailureChannel)
java.nio.file.NoSuchFileException: /kafka/kafka-logs-kafka-1/FMAASEVENTS-1/00000000000000021318.log