Skip to content

Commit

Permalink
IGNITE-7871 Check local join future on error. - Fixes apache#3793.
Browse files Browse the repository at this point in the history
Signed-off-by: dpavlov <dpavlov@apache.org>
  • Loading branch information
Jokser authored and agoncharuk committed Apr 11, 2018
1 parent 9874dbf commit d008738
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,8 @@ public ExchangeLatchManager(GridKernalContext ctx) {

// First coordinator initialization.
ctx.discovery().localJoinFuture().listen(f -> {
this.coordinator = getLatchCoordinator(AffinityTopologyVersion.NONE);
if (f.error() == null)
this.coordinator = getLatchCoordinator(AffinityTopologyVersion.NONE);
});

ctx.event().addDiscoveryEventListener((e, cache) -> {
Expand Down

0 comments on commit d008738

Please sign in to comment.