You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Vladimir Pligin (Jira)" <ji...@apache.org> on 2024/09/03 13:02:00 UTC
[jira] [Assigned] (IGNITE-23103) RandomLruPageReplacementPolicy is not fully ported
[ 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)