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/10/10 11:11:20 UTC

[jira] [Created] (KAFKA-4283) records deleted from CachingKeyValueStore still appear in range and all queries

Damian Guy created KAFKA-4283:
---------------------------------

             Summary: records deleted from CachingKeyValueStore still appear in range and all queries
                 Key: KAFKA-4283
                 URL: https://issues.apache.org/jira/browse/KAFKA-4283
             Project: Kafka
          Issue Type: Bug
          Components: streams
    Affects Versions: 0.10.1.0
            Reporter: Damian Guy
            Assignee: Damian Guy
             Fix For: 0.10.1.1


Records deleted from CachingKeyValueStore appear in range and all queries. The deleted record is replaced with an LRUCacheEntry(null), so that when a flush happens the deletion can be sent downstream and removed from the underlying store.
As this is valid and needed, the iterator used when querying a cached store needs to be aware of the entries where LRUCacheEntry.value == null and skip over them



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