Skip to content

Commit

Permalink
Fixed affinityReadyFuture (lastFinishedFuture could be null for compu…
Browse files Browse the repository at this point in the history
…te jobs).
  • Loading branch information
sboikov committed Oct 24, 2017
1 parent 8afeb67 commit 62cb4fb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ public IgniteInternalFuture<AffinityTopologyVersion> affinityReadyFuture(Affinit

IgniteInternalFuture<AffinityTopologyVersion> fut = aff.readyFuture(topVer);

return fut != null ? fut : cctx.shared().exchange().lastFinishedFuture();
return fut != null ? fut : new GridFinishedFuture<>(aff.lastVersion());
}

/**
Expand Down

0 comments on commit 62cb4fb

Please sign in to comment.