[
https://issues.apache.org/jira/browse/KAFKA-16391?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17828597#comment-17828597
]
PoAn Yang commented on KAFKA-16391:
-----------------------------------
Yes, I think so. From source code, it only close file channel.
[https://github.com/apache/kafka/blob/12a1d85362bfc200714bb2d76e6da7f5af1f82dd/core/src/main/scala/kafka/utils/FileLock.scala#L73-L81]
> Cleanup .lock file after server is down
> ---------------------------------------
>
> Key: KAFKA-16391
> URL: https://issues.apache.org/jira/browse/KAFKA-16391
> Project: Kafka
> Issue Type: Improvement
> Reporter: PoAn Yang
> Assignee: PoAn Yang
> Priority: Minor
>
> Currently, server adds a `.lock` file to each log folder. The file is useless
> after server is down.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)