[ https://issues.apache.org/jira/browse/KAFKA-19221?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17986940#comment-17986940 ]
Chia-Ping Tsai commented on KAFKA-19221: ---------------------------------------- [~gnarula] you are right. Could you please file a PR for 4.0 branch? It can't be cherry-pick due to build error > 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 > Assignee: Gaurav Narula > Priority: Major > Fix For: 4.1.0, 4.2.0 > > > 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)