[ 
https://issues.apache.org/jira/browse/KAFKA-6488?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dong Lin resolved KAFKA-6488.
-----------------------------
    Resolution: Won't Do

> 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
>            Priority: Major
>
> 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)

Reply via email to