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 12D59200B4A for ; Wed, 20 Jul 2016 11:06:54 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 11846160A95; Wed, 20 Jul 2016 09:06:54 +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 5AE19160A64 for ; Wed, 20 Jul 2016 11:06:53 +0200 (CEST) Received: (qmail 82965 invoked by uid 500); 20 Jul 2016 09:06:47 -0000 Mailing-List: contact commits-help@ignite.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ignite.apache.org Delivered-To: mailing list commits@ignite.apache.org Received: (qmail 81875 invoked by uid 99); 20 Jul 2016 09:06:46 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 20 Jul 2016 09:06:46 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id CD25AE7DFC; Wed, 20 Jul 2016 09:06:46 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: sboikov@apache.org To: commits@ignite.apache.org Date: Wed, 20 Jul 2016 09:07:06 -0000 Message-Id: <0281c1667e8644eb9272721da8d40286@git.apache.org> In-Reply-To: <8299c2c7c81f46e8b20ca1142fd66bc0@git.apache.org> References: <8299c2c7c81f46e8b20ca1142fd66bc0@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: [21/46] ignite git commit: Added more info in assert message. archived-at: Wed, 20 Jul 2016 09:06:54 -0000 Added more info in assert message. Project: http://git-wip-us.apache.org/repos/asf/ignite/repo Commit: http://git-wip-us.apache.org/repos/asf/ignite/commit/8d627378 Tree: http://git-wip-us.apache.org/repos/asf/ignite/tree/8d627378 Diff: http://git-wip-us.apache.org/repos/asf/ignite/diff/8d627378 Branch: refs/heads/ignite-1232 Commit: 8d6273780bdb63397dfddaf7b7c1e65a8b717e8d Parents: a648e88 Author: sboikov Authored: Fri Jul 15 16:40:31 2016 +0300 Committer: sboikov Committed: Fri Jul 15 16:40:31 2016 +0300 ---------------------------------------------------------------------- .../cache/distributed/dht/GridDhtPartitionTopologyImpl.java | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ignite/blob/8d627378/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/GridDhtPartitionTopologyImpl.java ---------------------------------------------------------------------- diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/GridDhtPartitionTopologyImpl.java b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/GridDhtPartitionTopologyImpl.java index 868e9db..c95817d 100644 --- a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/GridDhtPartitionTopologyImpl.java +++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/GridDhtPartitionTopologyImpl.java @@ -255,7 +255,8 @@ class GridDhtPartitionTopologyImpl implements GridDhtPartitionTopology { try { assert exchId.topologyVersion().compareTo(topVer) > 0 : "Invalid topology version [topVer=" + topVer + - ", exchId=" + exchId + ']'; + ", exchId=" + exchId + + ", fut=" + exchFut + ']'; this.stopping = stopping; @@ -337,11 +338,13 @@ class GridDhtPartitionTopologyImpl implements GridDhtPartitionTopology { assert topVer.equals(exchFut.topologyVersion()) : "Invalid topology [topVer=" + topVer + ", cache=" + cctx.name() + - ", futVer=" + exchFut.topologyVersion() + ']'; + ", futVer=" + exchFut.topologyVersion() + + ", fut=" + exchFut + ']'; assert cctx.affinity().affinityTopologyVersion().equals(exchFut.topologyVersion()) : "Invalid affinity [topVer=" + cctx.affinity().affinityTopologyVersion() + ", cache=" + cctx.name() + - ", futVer=" + exchFut.topologyVersion() + ']'; + ", futVer=" + exchFut.topologyVersion() + + ", fut=" + exchFut + ']'; List> aff = cctx.affinity().assignments(exchFut.topologyVersion());