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 A4FEC200CE0 for ; Wed, 26 Jul 2017 12:53:21 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id A3BBE168A53; Wed, 26 Jul 2017 10:53:21 +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 D4D81168A43 for ; Wed, 26 Jul 2017 12:53:20 +0200 (CEST) Received: (qmail 45129 invoked by uid 500); 26 Jul 2017 10:53:19 -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 44740 invoked by uid 99); 26 Jul 2017 10:53:19 -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, 26 Jul 2017 10:53:19 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 477E9F32E6; Wed, 26 Jul 2017 10:53:17 +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, 26 Jul 2017 10:53:34 -0000 Message-Id: In-Reply-To: <01dea3ee67b64579a2c4e255196571df@git.apache.org> References: <01dea3ee67b64579a2c4e255196571df@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: [18/19] ignite git commit: 5578 archived-at: Wed, 26 Jul 2017 10:53:21 -0000 5578 Project: http://git-wip-us.apache.org/repos/asf/ignite/repo Commit: http://git-wip-us.apache.org/repos/asf/ignite/commit/32c94ed1 Tree: http://git-wip-us.apache.org/repos/asf/ignite/tree/32c94ed1 Diff: http://git-wip-us.apache.org/repos/asf/ignite/diff/32c94ed1 Branch: refs/heads/ignite-5578 Commit: 32c94ed18fbed83c3ee200aa1ef99e8e105e52e0 Parents: 39f668e Author: sboikov Authored: Wed Jul 26 13:52:28 2017 +0300 Committer: sboikov Committed: Wed Jul 26 13:52:28 2017 +0300 ---------------------------------------------------------------------- .../processors/cache/distributed/dht/GridDhtLocalPartition.java | 3 +++ .../cache/distributed/dht/GridDhtPartitionTopologyImpl.java | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ignite/blob/32c94ed1/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/GridDhtLocalPartition.java ---------------------------------------------------------------------- diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/GridDhtLocalPartition.java b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/GridDhtLocalPartition.java index 725822d..a4c479f 100644 --- a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/GridDhtLocalPartition.java +++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/GridDhtLocalPartition.java @@ -33,6 +33,7 @@ import java.util.concurrent.locks.ReentrantLock; import org.apache.ignite.IgniteCheckedException; import org.apache.ignite.IgniteException; import org.apache.ignite.IgniteLogger; +import org.apache.ignite.TestDebugLog; import org.apache.ignite.cluster.ClusterNode; import org.apache.ignite.internal.IgniteInternalFuture; import org.apache.ignite.internal.NodeStoppingException; @@ -203,6 +204,8 @@ public class GridDhtLocalPartition extends GridCacheConcurrentMapImpl implements rmvdEntryTtl = Long.getLong(IGNITE_CACHE_REMOVED_ENTRIES_TTL, 10_000); + TestDebugLog.addPartMessage(id, ctx.localNodeId(), "created"); + try { store = grp.offheap().createCacheDataStore(id); } http://git-wip-us.apache.org/repos/asf/ignite/blob/32c94ed1/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 d82d091..e03bf61 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 @@ -1464,7 +1464,7 @@ public class GridDhtPartitionTopologyImpl implements GridDhtPartitionTopology { AffinityTopologyVersion affVer = grp.affinity().lastVersion(); if (affVer.compareTo(diffFromAffinityVer) >= 0) { - AffinityAssignment affAssignment = grp.affinity().cachedAffinity(affVer); + AffinityAssignment affAssignment = grp.affinity().readyAffinity(affVer); // Add new mappings. for (Map.Entry e : parts.entrySet()) {