divijvaidya opened a new pull request, #15490: URL: https://github.com/apache/kafka/pull/15490
## Bug On startup, Kafka creates a checkpoint for broker metadata. If underlying storage throws an IOException for any reason (maybe disk is full), then Kafka should mark the directory as offline. However, in this case it doesn't do so. ## Root cause When marking the partition offline, we incorrectly pass the path of checkpoint file whereas we should be providing the path of log dir ## Testing Added a unit test that fails prior to this change and passes after it is successful. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: jira-unsubscr...@kafka.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org