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

records deleted from CachingKeyValueStore still appear in range and all queries

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.10.1.0
    • 0.10.1.0, 0.10.2.0
    • streams
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: