[
https://issues.apache.org/jira/browse/KAFKA-17508?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17880597#comment-17880597
]
Luke Chen commented on KAFKA-17508:
-----------------------------------
Yes, that's my intention, to avoid file.getParent to return null.
> Adding some guard for fallback deletion logic
> ---------------------------------------------
>
> Key: KAFKA-17508
> URL: https://issues.apache.org/jira/browse/KAFKA-17508
> Project: Kafka
> Issue Type: Improvement
> Affects Versions: 3.8.0
> Reporter: Luke Chen
> Assignee: PoAn Yang
> Priority: Major
>
> In KAFKA-16424, we added a fallback logic to delete the logs, but the file
> has no parent. It'd be better we have some guard from it.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)