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

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

GitHub user antonovsergey93 opened a pull request:

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

    IGNITE-8719 Store information about starting of index rebuild.

    

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

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

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

    https://github.com/apache/ignite/pull/5223.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 #5223
    
----
commit cfbd9ba1cc7c31fbe43bdd2e00bad81c8396a464
Author: Sergey Antonov <antonovsergey93@...>
Date:   2018-10-30T09:04:33Z

    IGNITE-8719 Try reproduce problem.

commit b0c5d2740f9aa1814b6809ac7ad11b09d5d53250
Author: Sergey Antonov <antonovsergey93@...>
Date:   2018-10-31T13:34:11Z

    IGNITE-8719 First version of fix.

----


> Index left partially built if a node crashes during index create or rebuild
> ---------------------------------------------------------------------------
>
>                 Key: IGNITE-8719
>                 URL: https://issues.apache.org/jira/browse/IGNITE-8719
>             Project: Ignite
>          Issue Type: Bug
>            Reporter: Alexey Goncharuk
>            Assignee: Sergey Antonov
>            Priority: Critical
>             Fix For: 2.8
>
>         Attachments: IndexRebuildAfterNodeCrashTest.java, 
> IndexRebuildingTest.java
>
>
> Currently, we do not have any state associated with the index tree. Consider 
> the following scenario:
> 1) Start node, put some data
> 2) start CREATE INDEX operation
> 3) Wait for a checkpoint and stop node before index create finished
> 4) Restart node
> Since the checkpoint finished, the new index tree will be persisted to the 
> disk, but not all data will be present in the index.
> We should somehow store information about initializing index tree and mark it 
> valid only after all data is indexed. The state should be persisted as well.



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

Reply via email to