You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Dmitriy Pavlov (JIRA)" <ji...@apache.org> on 2018/07/12 16:53:00 UTC

[jira] [Commented] (IGNITE-8774) Daemon moves cluster to compatibility mode when joins

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

Dmitriy Pavlov commented on IGNITE-8774:
----------------------------------------

This PR does not contain run-all (or it was removed by TC by some reasons). I'd like to automatically check results, so I've triggered https://ci.ignite.apache.org/viewQueued.html?itemId=1484835&tab=queuedBuildOverviewTab


> Daemon moves cluster to compatibility mode when joins
> -----------------------------------------------------
>
>                 Key: IGNITE-8774
>                 URL: https://issues.apache.org/jira/browse/IGNITE-8774
>             Project: Ignite
>          Issue Type: Bug
>            Reporter: Stanislav Lukyanov
>            Assignee: Aleksey Plekhanov
>            Priority: Major
>             Fix For: 2.7
>
>
> When a daemon node joins the cluster seems to switch to compatibility mode (allowing nodes without baseline support). It prevents baseline nodes from being restarted.
> Example:
> {code}
> Ignite ignite1 = IgnitionEx.start("examples/config/persistentstore/example-persistent-store.xml", "srv1");
> Ignite ignite2 = IgnitionEx.start("examples/config/persistentstore/example-persistent-store.xml", "srv2");
> ignite2.cluster().active(true);
> IgnitionEx.setClientMode(true);
> IgnitionEx.setDaemon(true);
> Ignite daemon = IgnitionEx.start("examples/config/persistentstore/example-persistent-store.xml", "daemon");
> IgnitionEx.setClientMode(false);
> IgnitionEx.setDaemon(false);
> ignite2.close();
> IgnitionEx.start("examples/config/persistentstore/example-persistent-store.xml", "srv2");
> {code}
> The attempt to restart ignite2 throws an exception:
> {code}
> [2018-06-11 18:45:25,766][ERROR][tcp-disco-msg-worker-#39%srv2%][root] Critical system error detected. Will be handled accordingly to configured handler [hnd=class o.a.i.failure.StopNodeOrHaltFailureHandler, failureCtx=FailureContext [type=SYSTEM_WORKER_TERMINATION, err=class o.a.i.IgniteException: Node with BaselineTopology cannot join mixed cluster running in compatibility mode]]
> class org.apache.ignite.IgniteException: Node with BaselineTopology cannot join mixed cluster running in compatibility mode
> 	at org.apache.ignite.internal.processors.cluster.GridClusterStateProcessor.onGridDataReceived(GridClusterStateProcessor.java:714)
> 	at org.apache.ignite.internal.managers.discovery.GridDiscoveryManager$5.onExchange(GridDiscoveryManager.java:883)
> 	at org.apache.ignite.spi.discovery.tcp.TcpDiscoverySpi.onExchange(TcpDiscoverySpi.java:1939)
> 	at org.apache.ignite.spi.discovery.tcp.ServerImpl$RingMessageWorker.processNodeAddedMessage(ServerImpl.java:4354)
> 	at org.apache.ignite.spi.discovery.tcp.ServerImpl$RingMessageWorker.processMessage(ServerImpl.java:2744)
> 	at org.apache.ignite.spi.discovery.tcp.ServerImpl$RingMessageWorker.processMessage(ServerImpl.java:2536)
> 	at org.apache.ignite.spi.discovery.tcp.ServerImpl$MessageWorkerAdapter.body(ServerImpl.java:6775)
> 	at org.apache.ignite.spi.discovery.tcp.ServerImpl$RingMessageWorker.body(ServerImpl.java:2621)
> 	at org.apache.ignite.spi.IgniteSpiThread.run(IgniteSpiThread.java:62)
> {code}



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