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)