You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Damian Guy (JIRA)" <ji...@apache.org> on 2016/09/05 16:26:20 UTC

[jira] [Updated] (KAFKA-4123) Queryable State returning null for key before all stores in instance have been initialized

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

Damian Guy updated KAFKA-4123:
------------------------------
    Summary: Queryable State returning null for key before all stores in instance have been initialized  (was: Queryable State returning null for key before all stores in instance have been intialized)

> Queryable State returning null for key before all stores in instance have been initialized
> ------------------------------------------------------------------------------------------
>
>                 Key: KAFKA-4123
>                 URL: https://issues.apache.org/jira/browse/KAFKA-4123
>             Project: Kafka
>          Issue Type: Bug
>          Components: streams
>    Affects Versions: 0.10.1.0
>            Reporter: Damian Guy
>            Assignee: Damian Guy
>             Fix For: 0.10.1.0
>
>
> A couple of problems:
> 1. A RocksDBStore instance is currently marked as open before the store has been initialized from its changelog. This can result in reading old/invalid data when querying.
> 2. In the case of multiple partitions and the tasks are being initialized it is always possible that 1 or more StateStores will be intialized before the complete set of stores in the Streams Instance are initialized. Currently when this happens a query can return null because it will look in the existing initialized stores. However, the key may exist in one of the non-initialized instances. We need to wait for all Stores in the instance to be initialized before allowing queries to progress.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)