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

java.lang.IllegalStateException: Attempting to put a clean entry for key... into NamedCache

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.10.1.0
    • 0.10.2.0
    • streams
    • None

    Description

      This follows on from https://issues.apache.org/jira/browse/KAFKA-4311

      The exception seems to be triggered by topologies with multiple joined tables. As a new record arrives in one table it triggers an eviction. The eviction causes a flush which will trigger a join processor. These in-turn does a cache lookup and if the value is not in the cache, then it will be retrieved from the store and put in the cache, triggering another eviction. And so on.

      Exception reported on mailing list
      https://gist.github.com/mfenniak/509fb82dfcfda79a21cfc1b07dafa89c

      Further investigation into this also reveals that this same eviction process can send the cache eviction into an infinite loop. It seems that the LRU is broken.

      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: