[
https://issues.apache.org/jira/browse/KAFKA-16295?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18146868#comment-18146868
]
Nahid Bandi commented on KAFKA-16295:
-------------------------------------
Hi [~ahmedsobeh] and [~mjsax] , I'd like to help with this one if it's still
needed. [https://github.com/apache/kafka/pull/15421] was auto-closed as stale
in January 2025, so I wanted to check whether anyone is still working on it
before I start.
On current trunk the stores are still inconsistent: RocksDBStore and
InMemoryKeyValueStore open the store before calling register(), while
InMemorySessionStore, InMemoryWindowStore and
InMemoryTimeOrderedKeyValueChangeBuffer register first and then mark themselves
open. If I can pick it up, which order should all stores follow? The
description suggests register-then-open (the in-memory order), but
InMemoryKeyValueStore has since moved to open-then-register. Thanks!
> Align RocksDB and in-memory store init() sequence
> -------------------------------------------------
>
> Key: KAFKA-16295
> URL: https://issues.apache.org/jira/browse/KAFKA-16295
> Project: Kafka
> Issue Type: Improvement
> Components: streams
> Reporter: Matthias J. Sax
> Assignee: Ahmed Sobeh
> Priority: Minor
> Labels: newbie
>
> Cf [https://lists.apache.org/thread/f4z1vmpb21xhyxl6966xtcb3958fyx5d]
> {quote}For RocksDB stores, we open the store first and then call #register,
> [...] However the in-memory store actually registers itself *first*, before
> marking itself as open,[..].
> I suppose it would make sense to align the two store implementations to have
> the same behavior, and the in-memory store is probably technically more
> correct.
> {quote}
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)