[ 
https://issues.apache.org/jira/browse/IMPALA-12154?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Joe McDonnell resolved IMPALA-12154.
------------------------------------
    Fix Version/s: Impala 4.3.0
       Resolution: Fixed

> 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
>            Priority: Major
>             Fix For: Impala 4.3.0
>
>
> 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