Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-4283

records deleted from CachingKeyValueStore still appear in range and all queries

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.10.1.0
    • Fix Version/s: 0.10.1.0, 0.10.2.0
    • Component/s: streams
    • Labels:
      None

      Description

      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

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                damianguy Damian Guy
                Reporter:
                damianguy Damian Guy
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: