Joe McDonnell created IMPALA-12154:
--------------------------------------

             Summary: LIRS cache implementation is missing some locations to 
trim the recency list
                 Key: IMPALA-12154
                 URL: https://issues.apache.org/jira/browse/IMPALA-12154
             Project: IMPALA
          Issue Type: Bug
          Components: Backend
    Affects Versions: Impala 4.3.0
            Reporter: Joe McDonnell
            Assignee: Joe McDonnell


In some testing for IMPALA-10971, I found that some code locations doing 
ToUninitialized() are not checking and trimming the recency list. In 
particular, Erase() doesn't check whether the entry being erased is the last 
entry on the recency list, so it doesn't do the trim appropriately. Also, the 
instant eviction codepath doesn't check either.

These are edge cases, but they can result in an assert firing for 
EnforceProtectedCapacity() or MoveToRecencyListBack().



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to