ignite-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (IGNITE-7818) Incorrect assertion in PDS page eviction method
Date Fri, 08 Jun 2018 16:42:00 GMT

    [ https://issues.apache.org/jira/browse/IGNITE-7818?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16506249#comment-16506249
] 

ASF GitHub Bot commented on IGNITE-7818:
----------------------------------------

Github user asfgit closed the pull request at:

    https://github.com/apache/ignite/pull/4024


> Incorrect assertion in PDS page eviction method
> -----------------------------------------------
>
>                 Key: IGNITE-7818
>                 URL: https://issues.apache.org/jira/browse/IGNITE-7818
>             Project: Ignite
>          Issue Type: Bug
>          Components: persistence
>            Reporter: Aleksey Plekhanov
>            Assignee: Ivan Fedotov
>            Priority: Major
>             Fix For: 2.6
>
>         Attachments: PageMemoryPdsAssertTest.java
>
>
> There is an assertion in the method org.apache.ignite.internal.processors.cache.persistence.pagemem.PageMemoryImpl.Segment#removePageForReplacement:
>  
> {code:java}
> assert relRmvAddr != INVALID_REL_PTR;{code}
> Which seems potentially dangerous. In some rare cases, when count of interations more
then 40% of allocated pages and all processed pages are aquired, the {{relRmvAddr}} variable
will be uninitialized and {{AssertionException}} will be thrown. But it's a correct case
and page to evict can be found later in the method {{tryToFindSequentially.}}
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message