Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id D7A3B200B26 for ; Mon, 27 Jun 2016 12:29:44 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id D64F4160A5B; Mon, 27 Jun 2016 10:29:44 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 293FC160A3C for ; Mon, 27 Jun 2016 12:29:44 +0200 (CEST) Received: (qmail 1835 invoked by uid 500); 27 Jun 2016 10:29:43 -0000 Mailing-List: contact user-help@ignite.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@ignite.apache.org Delivered-To: mailing list user@ignite.apache.org Received: (qmail 1823 invoked by uid 99); 27 Jun 2016 10:29:43 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 27 Jun 2016 10:29:43 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id DAC4C1A5EC1 for ; Mon, 27 Jun 2016 10:29:42 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.173 X-Spam-Level: ** X-Spam-Status: No, score=2.173 tagged_above=-999 required=6.31 tests=[DKIM_ADSP_CUSTOM_MED=0.001, NML_ADSP_CUSTOM_MED=1.2, RCVD_IN_DNSWL_NONE=-0.0001, SPF_SOFTFAIL=0.972] autolearn=disabled Received: from mx2-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id u1OhGf8k6PBL for ; Mon, 27 Jun 2016 10:29:40 +0000 (UTC) Received: from mbob.nabble.com (mbob.nabble.com [162.253.133.15]) by mx2-lw-eu.apache.org (ASF Mail Server at mx2-lw-eu.apache.org) with ESMTP id 60F8F5F263 for ; Mon, 27 Jun 2016 10:29:40 +0000 (UTC) Received: from malf.nabble.com (unknown [162.253.133.59]) by mbob.nabble.com (Postfix) with ESMTP id DB3B82B3860D for ; Mon, 27 Jun 2016 03:08:44 -0700 (PDT) Date: Mon, 27 Jun 2016 03:13:17 -0700 (PDT) From: AndreyVel To: user@ignite.apache.org Message-ID: <1467022397770-5909.post@n6.nabble.com> In-Reply-To: <1465987750941-5643.post@n6.nabble.com> References: <1465987750941-5643.post@n6.nabble.com> Subject: Re: Strange collocated distributed set behavior MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit archived-at: Mon, 27 Jun 2016 10:29:45 -0000 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 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.