You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Matthias J. Sax (Jira)" <ji...@apache.org> on 2026/05/11 19:14:00 UTC

[jira] [Resolved] (KAFKA-12928) Add a check whether the Task's statestore is actually a directory

     [ https://issues.apache.org/jira/browse/KAFKA-12928?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Matthias J. Sax resolved KAFKA-12928.
-------------------------------------
    Fix Version/s: 3.0.0
       Resolution: Fixed

Seems the PR was merged, but we forgot to close the ticket.

> Add a check whether the Task's statestore is actually a directory
> -----------------------------------------------------------------
>
>                 Key: KAFKA-12928
>                 URL: https://issues.apache.org/jira/browse/KAFKA-12928
>             Project: Kafka
>          Issue Type: Bug
>          Components: streams
>            Reporter: Dongjin Lee
>            Assignee: Dongjin Lee
>            Priority: Major
>             Fix For: 3.0.0
>
>
> I found this problem while working on [KAFKA-10585|https://issues.apache.org/jira/browse/KAFKA-10585].
> As of present, StateDirectory checks whether the Task's statestore directory exists and, if not, creates it. Since it does not check whether it is actually a directory, for example, if a regular file occupies the Task's statestore's path, the validation logic may be detoured.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)