Gaurav Narula created KAFKA-19221: ------------------------------------- Summary: IOException on log segment close shouldn't be ignored Key: KAFKA-19221 URL: https://issues.apache.org/jira/browse/KAFKA-19221 Project: Kafka Issue Type: Bug Affects Versions: 4.0.0 Reporter: Gaurav Narula
Related to the findings in KAFKA-19200. An IOException in {{TimeIndex#close}} is currently silently ignored. This may potentially lead to a situation where {{TimeIndex#trimToValidSize}} fails and the next broker startup will not attempt to recover the log segment as it considers the shutdown as "clean", eventually causing the symptoms described in the aforementioned JIRA. -- This message was sent by Atlassian Jira (v8.20.10#820010)