Hello zshamrock,

I cannot reproduce you issue Scenario#1 on Ignite 1.6.0.
It is strange why instance 2-3-4 prints:
        [local] Size of the numbers distributed set is 0, and items are [] 

Should be
        [local] Size of the numbers distributed set is 1, and items are [42]


To be honest I have used local cluster configuration

        IgniteConfiguration cfg = new IgniteConfiguration();
        cfg.setPeerClassLoadingEnabled(true);
        TcpDiscoveryVmIpFinder ipFinder = new TcpDiscoveryVmIpFinder(true);
        ipFinder.setAddresses(Arrays.asList("127.0.0.1:47500..47509"));

        TcpDiscoverySpi discoSpi = new TcpDiscoverySpi();
        discoSpi.setIpFinder(ipFinder);
        cfg.setDiscoverySpi(discoSpi);
        final Ignite ignite = Ignition.start(cfg);

Please add logging collection creation

        IgniteSet<Long> numbers = ignite.set("numbers", null);
        if (numbers == null) {
            System.out.println("[local] creating collection [numbers]");
            numbers = ignite.set("numbers", collectionConfiguration);
        }

and at the end of code put

        numbers.add(42L);
        System.out.printf("Waiting 6000 sec...");
        Thread.sleep(1000 * 6000);



--
View this message in context: 
http://apache-ignite-users.70518.x6.nabble.com/Strange-collocated-distributed-set-behavior-tp5643p5909.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Reply via email to