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

Stanilovsky Evgeny commented on IGNITE-8719:
--------------------------------------------

[~ktkale...@gridgain.com] plz check my comments, if you ok with my proposals i 
would like to review it once more after fixes, thanks ! 

> 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
>          Components: sql
>            Reporter: Alexey Goncharuk
>            Assignee: Kirill Tkalenko
>            Priority: Critical
>             Fix For: 2.11
>
>         Attachments: IndexRebuildAfterNodeCrashTest.java, 
> IndexRebuildingTest.java
>
>          Time Spent: 2h 10m
>  Remaining Estimate: 0h
>
> 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
(v8.3.4#803005)

Reply via email to