Hello

I have upgraded my code from Apache ignite version 2.6 to 2.7. I am running
two server nodes in two different machines. However after upgrade, noticed
that these two server nodes joined. Log shows as servers=2, state=ACTIVE.

Based on previous suggestion, I have commented out TCPDiscoverSPI and still
see server nodes are joined in 2.7 version. How to make sure server nodes
runs in one machine and not joining with remote (stand alone)?

        IgniteConfiguration cfg = new IgniteConfiguration();
        cfg.setIgniteInstanceName("testdb");

        /*TcpDiscoverySpi discovery = new TcpDiscoverySpi();
       
discovery.setLocalAddress(IPClusterConfigInitialize.IpClusterConfig().getProperty("ipClusterConfig"));
        discovery.setLocalPort(new
Integer(IPClusterConfigInitialize.IpClusterConfig().getProperty("port")));
        cfg.setDiscoverySpi(discovery);*/

        cfg.setPeerClassLoadingEnabled(false);
        




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

Reply via email to