You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Sergey Antonov (JIRA)" <ji...@apache.org> on 2018/10/18 10:48:00 UTC

[jira] [Commented] (IGNITE-8719) Index left partially built if a node crashes during index create or rebuild

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

Sergey Antonov commented on IGNITE-8719:
----------------------------------------

[~cyberdemon], Looks like the issue is abandoned but looks serious. Would you mind if I start working on it?

> 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: Dmitriy Sorokin
>            Priority: Critical
>             Fix For: 2.8
>
>         Attachments: 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)