You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ignite.apache.org by Andrey Davydov <an...@gmail.com> on 2018/05/10 14:35:07 UTC

Ignite hangs forever on add node

If I want to add node with service to 2.4.0 cluster with enabled persistence after activation, Ignition.start call hangs forever in GridServiceProcessor.onKernalStart0 line 272:

deployAll(Arrays.asList(cfgs), ctx.cluster().get().forServers().predicate()).get();

There is small demo project in attachment. There are two test cases in it. 

DemoTest.testNoHang() – start 4 nodes activate cluster, stop one node, run node back – everything works fine.
DemoTest.testHang() – start 3 nodes, activate cluster, try to start one more node – test hangs forever

If it is any recommendation in this situation? 

Andrey.


RE: Ignite hangs forever on add node

Posted by an...@gmail.com.
Thanks for answer.

After detail testing of this case I found some strange things in service starting. If autoActivation is enabled, then services correct start only after cluster restart. Deactivation and node restart cause cluster activation, but not start services.

I can send reproducing code tomorrow.

If it same issue?

And question about workaround. If it correct to disable auto activation and duplicate equivalent logic in lifecircle bean. I.e. Check baseline topology and activate and deploy services manualy?


Thanks.


Отправлено с моего телефона на Windows 10

От: akurbanov
Отправлено: 10 мая 2018 г. в 21:31
Кому: user@ignite.apache.org
Тема: Re: Ignite hangs forever on add node

Hi,

This is a known issue and is already fixed:
https://issues.apache.org/jira/browse/IGNITE-8134

After calling cluster.active(true), cluster nodes form baseline topology and
currently it's impossible to deploy services from node out of topology on
active cluster.

Will be available in future Ignite versions.

Best regards,
Anton



--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/


Re: Ignite hangs forever on add node

Posted by akurbanov <an...@gmail.com>.
Hi,

This is a known issue and is already fixed:
https://issues.apache.org/jira/browse/IGNITE-8134

After calling cluster.active(true), cluster nodes form baseline topology and
currently it's impossible to deploy services from node out of topology on
active cluster.

Will be available in future Ignite versions.

Best regards,
Anton



--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/