You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Dong Lin (JIRA)" <ji...@apache.org> on 2018/01/25 21:34:00 UTC

[jira] [Created] (KAFKA-6488) Prevent log corruption in case of OOM

Dong Lin created KAFKA-6488:
-------------------------------

             Summary: Prevent log corruption in case of OOM
                 Key: KAFKA-6488
                 URL: https://issues.apache.org/jira/browse/KAFKA-6488
             Project: Kafka
          Issue Type: Bug
            Reporter: Dong Lin
            Assignee: Dong Lin


Currently we will append the message to the log before updating the LEO. However, if there is OOM in between these two steps, KafkaRequestHandler thread can append a message to the log without updating the LEO. The next message may be appended with the same offset as the first message. This can prevent broker from being started because two messages have the same offset in the log.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)