You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Bill Bejeck (Jira)" <ji...@apache.org> on 2026/07/13 20:36:00 UTC

[jira] [Resolved] (KAFKA-20777) StagedMergeIterator throws IllegalStateException instead of InvalidStateStoreException when used after store close

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

Bill Bejeck resolved KAFKA-20777.
---------------------------------
    Resolution: Fixed

> StagedMergeIterator throws IllegalStateException instead of InvalidStateStoreException when used after store close
> ------------------------------------------------------------------------------------------------------------------
>
>                 Key: KAFKA-20777
>                 URL: https://issues.apache.org/jira/browse/KAFKA-20777
>             Project: Kafka
>          Issue Type: Bug
>          Components: streams
>    Affects Versions: 4.4.0
>            Reporter: Alan Lau
>            Assignee: Alan Lau
>            Priority: Blocker
>             Fix For: 4.4.0
>
>
> When transactional state stores are enabled (enable.transactional.statestores=true), an open StagedMergeIterator that is used after the store is closed throws java.lang.IllegalStateException("Iterator has already been closed.") from StagedMergeIterator.hasNext(), for consistency with the other managed store iterators (e.g. RocksDbIterator), it should throw InvalidStateStoreException.



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