You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues-all@impala.apache.org by "Joe McDonnell (Jira)" <ji...@apache.org> on 2023/06/02 22:42:00 UTC

[jira] [Resolved] (IMPALA-12154) LIRS cache implementation is missing some locations to trim the recency list

     [ 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)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-all-unsubscribe@impala.apache.org
For additional commands, e-mail: issues-all-help@impala.apache.org