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

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

Github user asfgit closed the pull request at:

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


> Index rebuild future is created too late
> ----------------------------------------
>
>                 Key: IGNITE-7569
>                 URL: https://issues.apache.org/jira/browse/IGNITE-7569
>             Project: Ignite
>          Issue Type: Bug
>    Affects Versions: 2.4
>            Reporter: Alexey Goncharuk
>            Assignee: Alexey Goncharuk
>            Priority: Major
>             Fix For: 2.5
>
>
> rebuildIndexesIfNeeded is called before the exchange future onDone method, 
> which may be too late in a distributed case: a node may complete a local 
> exchange and send a compute job to a remote node. In this case, if the job 
> checks the index rebuild future, it may observe {{null}}.
> To fix this, we should create the future in beforeExchange, and complete it 
> after the rebuild is finished.



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

Reply via email to