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

Vladimir Pligin reassigned IGNITE-23103:
----------------------------------------

    Assignee: Aleksandr Polovtsev

> RandomLruPageReplacementPolicy is not fully ported
> --------------------------------------------------
>
>                 Key: IGNITE-23103
>                 URL: https://issues.apache.org/jira/browse/IGNITE-23103
>             Project: Ignite
>          Issue Type: Bug
>            Reporter: Ivan Bessonov
>            Assignee: Aleksandr Polovtsev
>            Priority: Major
>              Labels: ignite-3
>
> There should be a line
> {code:java}
> if (relRmvAddr == rndAddr || pinned || skip || (dirty && (checkpointPages == 
> null || !checkpointPages.contains(fullId)))) {{code}
> instead of
> {code:java}
> if (relRmvAddr == rndAddr || pinned || skip || dirty) { {code}
> Due to this mistake we have several conditions, that are always evaluated to 
> constants, namely
>  * 
> {{!dirty}} - always true
>  * 
> {{pageTs < dirtyTs && dirty && !storMeta}} - always false
> Ideally, we should add tests that would cover this situation.



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

Reply via email to