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

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

GitHub user Jokser opened a pull request:

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

    IGNITE-8531 Fixed NPE if checkpoint has no pages to write, but has 
partitions to destroy

    

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/gridgain/apache-ignite ignite-8531

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/ignite/pull/4026.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #4026
    
----
commit b42b933b62b7f79dfb8355b1e6e4254dcb9e2842
Author: Pavel Kovalenko <jokserfn@...>
Date:   2018-05-18T13:43:20Z

    IGNITE-8531 Fixed NPE if checkpoint has no pages to write, but has 
partitions to destroy.

----


> NPE is thrown on destroying empty partition
> -------------------------------------------
>
>                 Key: IGNITE-8531
>                 URL: https://issues.apache.org/jira/browse/IGNITE-8531
>             Project: Ignite
>          Issue Type: Bug
>          Components: persistence
>            Reporter: Sergey Chugunov
>            Assignee: Pavel Kovalenko
>            Priority: Major
>
> Improvement IGNITE-8320 introduced situation when NPE may happen: in case of 
> destroying empty partition checkpoint record isn't logged to WAL but code 
> attempts to create checkpoint marker anyway which leads to NPE.
> We need to allow checkpointing empty partitions.



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

Reply via email to