ignite-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dmitriy Govorukhin (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (IGNITE-9854) NullPointerException in PageMemoryImpl.refreshOutdatedPages during removing from segCheckpointPages
Date Tue, 23 Oct 2018 22:12:00 GMT

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

Dmitriy Govorukhin commented on IGNITE-9854:
--------------------------------------------

[~NIzhikov] What about including this fix in ignite-2.7?

> NullPointerException in PageMemoryImpl.refreshOutdatedPages during removing from segCheckpointPages
> ---------------------------------------------------------------------------------------------------
>
>                 Key: IGNITE-9854
>                 URL: https://issues.apache.org/jira/browse/IGNITE-9854
>             Project: Ignite
>          Issue Type: Bug
>          Components: persistence
>    Affects Versions: 2.6
>            Reporter: Ivan Daschinskiy
>            Assignee: Ivan Daschinskiy
>            Priority: Critical
>             Fix For: 2.8
>
>
> Because of possibility of concurrently setting segCheckpointPages to null of segment
not under segment writeLock (i.e. in PageMemoryImpl#finishCheckpoint), NullPointerException
is possible. This causes immediate node failure. 
> Example stack trace is attached (failure during iteration in rebalance supplier).
> {code:java}
> java.lang.NullPointerException: null
>         at org.apache.ignite.internal.processors.cache.persistence.pagemem.PageMemoryImpl.refreshOutdatedPage(PageMemoryImpl.java:840)
>         at org.apache.ignite.internal.processors.cache.persistence.pagemem.PageMemoryImpl.access$5100(PageMemoryImpl.java:120)
>         at org.apache.ignite.internal.processors.cache.persistence.pagemem.PageMemoryImpl$Segment.removePageForReplacement(PageMemoryImpl.java:2175)
>         at org.apache.ignite.internal.processors.cache.persistence.pagemem.PageMemoryImpl$Segment.access$900(PageMemoryImpl.java:1841)
>         at org.apache.ignite.internal.processors.cache.persistence.pagemem.PageMemoryImpl.acquirePage(PageMemoryImpl.java:686)
>         at org.apache.ignite.internal.processors.cache.persistence.pagemem.PageMemoryImpl.acquirePage(PageMemoryImpl.java:627)
>         at org.apache.ignite.internal.processors.cache.persistence.CacheDataRowAdapter.initFromLink(CacheDataRowAdapter.java:140)
>         at org.apache.ignite.internal.processors.cache.persistence.CacheDataRowAdapter.initFromLink(CacheDataRowAdapter.java:102)
>         at org.apache.ignite.internal.processors.cache.tree.DataRow.<init>(DataRow.java:54)
>         at org.apache.ignite.internal.processors.cache.tree.CacheDataRowStore.dataRow(CacheDataRowStore.java:73)
>         at org.apache.ignite.internal.processors.cache.tree.CacheDataTree.getRow(CacheDataTree.java:146)
>         at org.apache.ignite.internal.processors.cache.tree.CacheDataTree.getRow(CacheDataTree.java:41)
>         at org.apache.ignite.internal.processors.cache.persistence.tree.BPlusTree$ForwardCursor.fillFromBuffer(BPlusTree.java:4660)
>         at org.apache.ignite.internal.processors.cache.persistence.tree.BPlusTree$ForwardCursor.nextPage(BPlusTree.java:4760)
>         at org.apache.ignite.internal.processors.cache.persistence.tree.BPlusTree$ForwardCursor.next(BPlusTree.java:4689)
> {code}



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

Mime
View raw message