kafka-jira mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dong Lin (JIRA)" <j...@apache.org>
Subject [jira] [Created] (KAFKA-6488) Prevent log corruption in case of OOM
Date Thu, 25 Jan 2018 21:34:00 GMT
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)

Mime
View raw message