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 Steshin (Jira)" <ji...@apache.org> on 2023/07/25 12:31:00 UTC

[jira] [Updated] (IGNITE-20047) NPE in defragmentation / checkpoint

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

Vladimir Steshin updated IGNITE-20047:
--------------------------------------
    Attachment: npe_failure2.log

> NPE in defragmentation / checkpoint
> -----------------------------------
>
>                 Key: IGNITE-20047
>                 URL: https://issues.apache.org/jira/browse/IGNITE-20047
>             Project: Ignite
>          Issue Type: Bug
>            Reporter: Vladimir Steshin
>            Priority: Major
>         Attachments: npe_failure2.log
>
>
> NPE can occur in
> {code:java}
>  /** {@inheritDoc} */
>     @Override public void updateEvictedPages(int delta) {
>         A.ensure(delta > 0, "param must be positive");
>         if (evictedPagesCounter() != null)
>             evictedPagesCounter().addAndGet(delta);
>     }
> {code}
> because evictedPagesCounter is already null. `clearCounters()` is invoked in _markCheckpointEnd()_. But it is possible that the counter is being updated. Probably, happens with the _DelayedDirtyPageStoreWrite_ / _DelayedDirtyPageStoreWrite_
> Found in the defragmentation process. But it seems to be a common problem. Logs attached.



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