Fixed affinityReadyFuture (lastFinishedFuture could be null for compute jobs).
@@ -99,7 +99,7 @@ public class GridCacheAffinityManager extends GridCacheManagerAdapter {
IgniteInternalFuture<AffinityTopologyVersion> fut = aff.readyFuture(topVer);
- return fut != null ? fut : cctx.shared().exchange().lastFinishedFuture();
+ return fut != null ? fut : new GridFinishedFuture<>(aff.lastVersion());
}
/**
