[
https://issues.apache.org/jira/browse/KAFKA-17508?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17880577#comment-17880577
]
Keith Wall commented on KAFKA-17508:
------------------------------------
Just making sure I understand. So, this will prevent a NPE in the event that a
user has their log dir at the root of the filesystem (the condition where
File#getParent returns null). Did I understand right?
> 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 has no
> parent. It'd be better we have some guard from it.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)