Return-Path: X-Original-To: apmail-ignite-issues-archive@minotaur.apache.org Delivered-To: apmail-ignite-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 2911B1843E for ; Wed, 5 Aug 2015 17:32:08 +0000 (UTC) Received: (qmail 15054 invoked by uid 500); 5 Aug 2015 17:32:08 -0000 Delivered-To: apmail-ignite-issues-archive@ignite.apache.org Received: (qmail 15028 invoked by uid 500); 5 Aug 2015 17:32:08 -0000 Mailing-List: contact issues-help@ignite.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ignite.incubator.apache.org Delivered-To: mailing list issues@ignite.incubator.apache.org Received: (qmail 15013 invoked by uid 99); 5 Aug 2015 17:32:08 -0000 Received: from Unknown (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Aug 2015 17:32:08 +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 8CC5C1A9794 for ; Wed, 5 Aug 2015 17:32:07 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.77 X-Spam-Level: * X-Spam-Status: No, score=1.77 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, KAM_LAZY_DOMAIN_SECURITY=1, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, T_RP_MATCHES_RCVD=-0.01] autolearn=disabled Received: from mx1-us-east.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id rxwtLG7PlhFa for ; Wed, 5 Aug 2015 17:32:06 +0000 (UTC) Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx1-us-east.apache.org (ASF Mail Server at mx1-us-east.apache.org) with SMTP id E341A428E4 for ; Wed, 5 Aug 2015 17:32:05 +0000 (UTC) Received: (qmail 13181 invoked by uid 99); 5 Aug 2015 17:32:05 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Aug 2015 17:32:05 +0000 Date: Wed, 5 Aug 2015 17:32:05 +0000 (UTC) From: "Alexey Goncharuk (JIRA)" To: issues@ignite.incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (IGNITE-1197) GridDhtInvalidPartitionException in GridDhtLocalPartition.release MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/IGNITE-1197?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14658555#comment-14658555 ] Alexey Goncharuk commented on IGNITE-1197: ------------------------------------------ {{UnswapIterator}} may be created concurrently from multiple threads. As a result, the partition may become evicted while the other thread is iterating. We need to handle {{InvalidPartitionException}} in iterator and stop iteration when this exception is encountered. > GridDhtInvalidPartitionException in GridDhtLocalPartition.release > ----------------------------------------------------------------- > > Key: IGNITE-1197 > URL: https://issues.apache.org/jira/browse/IGNITE-1197 > Project: Ignite > Issue Type: Bug > Reporter: Sergi Vladykin > Assignee: Alexey Goncharuk > Fix For: ignite-1.4 > > > This exception thrown after query run and partition release: > {code} > [02:00:58]W: [org.apache.ignite:ignite-indexing] class org.apache.ignite.internal.processors.cache.distributed.dht.GridDhtInvalidPartitionException [part=874, msg=Adding entry to evicted partition [part=874, topVer=AffinityTopologyVersion [topVer=3, minorTopVer=0], this.topVer=AffinityTopologyVersion [topVer=3, minorTopVer=0]]] > [02:00:58]W: [org.apache.ignite:ignite-indexing] at org.apache.ignite.internal.processors.cache.distributed.dht.GridDhtPartitionTopologyImpl.localPartition(GridDhtPartitionTopologyImpl.java:543) > [02:00:58]W: [org.apache.ignite:ignite-indexing] at org.apache.ignite.internal.processors.cache.distributed.dht.GridDhtPartitionTopologyImpl.localPartition(GridDhtPartitionTopologyImpl.java:520) > [02:00:58]W: [org.apache.ignite:ignite-indexing] at org.apache.ignite.internal.processors.cache.distributed.dht.GridDhtPartitionTopologyImpl.onAdded(GridDhtPartitionTopologyImpl.java:604) > [02:00:58]W: [org.apache.ignite:ignite-indexing] at org.apache.ignite.internal.processors.cache.distributed.dht.GridDhtCacheEntry.(GridDhtCacheEntry.java:79) > [02:00:58]W: [org.apache.ignite:ignite-indexing] at org.apache.ignite.internal.processors.cache.distributed.dht.atomic.GridDhtAtomicCacheEntry.(GridDhtAtomicCacheEntry.java:46) > [02:00:58]W: [org.apache.ignite:ignite-indexing] at org.apache.ignite.internal.processors.cache.distributed.dht.atomic.GridDhtAtomicOffHeapCacheEntry.(GridDhtAtomicOffHeapCacheEntry.java:46) > [02:00:58]W: [org.apache.ignite:ignite-indexing] at org.apache.ignite.internal.processors.cache.distributed.dht.atomic.GridDhtAtomicCache$1.create(GridDhtAtomicCache.java:128) > [02:00:58]W: [org.apache.ignite:ignite-indexing] at org.apache.ignite.internal.processors.cache.GridCacheConcurrentMap$Segment.put0(GridCacheConcurrentMap.java:977) > [02:00:58]W: [org.apache.ignite:ignite-indexing] at org.apache.ignite.internal.processors.cache.GridCacheConcurrentMap$Segment.putIfObsolete(GridCacheConcurrentMap.java:1041) > [02:00:58]W: [org.apache.ignite:ignite-indexing] at org.apache.ignite.internal.processors.cache.GridCacheConcurrentMap.putEntryIfObsoleteOrAbsent(GridCacheConcurrentMap.java:509) > [02:00:58]W: [org.apache.ignite:ignite-indexing] at org.apache.ignite.internal.processors.cache.GridCacheAdapter.entry0(GridCacheAdapter.java:857) > [02:00:58]W: [org.apache.ignite:ignite-indexing] at org.apache.ignite.internal.processors.cache.GridCacheAdapter.entryEx(GridCacheAdapter.java:828) > [02:00:58]W: [org.apache.ignite:ignite-indexing] at org.apache.ignite.internal.processors.cache.distributed.dht.GridDhtCacheAdapter.entryEx(GridDhtCacheAdapter.java:315) > [02:00:58]W: [org.apache.ignite:ignite-indexing] at org.apache.ignite.internal.processors.cache.distributed.dht.GridDhtLocalPartition$3.next(GridDhtLocalPartition.java:663) > [02:00:58]W: [org.apache.ignite:ignite-indexing] at org.apache.ignite.internal.processors.cache.distributed.dht.GridDhtLocalPartition$3.next(GridDhtLocalPartition.java:647) > [02:00:58]W: [org.apache.ignite:ignite-indexing] at org.apache.ignite.internal.util.lang.GridFunc$34.advance(GridFunc.java:880) > [02:00:58]W: [org.apache.ignite:ignite-indexing] at org.apache.ignite.internal.util.lang.GridFunc$34.next(GridFunc.java:908) > [02:00:58]W: [org.apache.ignite:ignite-indexing] at org.apache.ignite.internal.processors.cache.distributed.dht.GridDhtLocalPartition.clearAll(GridDhtLocalPartition.java:612) > [02:00:58]W: [org.apache.ignite:ignite-indexing] at org.apache.ignite.internal.processors.cache.distributed.dht.GridDhtLocalPartition.tryEvict(GridDhtLocalPartition.java:507) > [02:00:58]W: [org.apache.ignite:ignite-indexing] at org.apache.ignite.internal.processors.cache.distributed.dht.GridDhtLocalPartition.release(GridDhtLocalPartition.java:389) > [02:00:58]W: [org.apache.ignite:ignite-indexing] at org.apache.ignite.internal.processors.query.h2.twostep.GridMapQueryExecutor.onQueryRequest(GridMapQueryExecutor.java:482) > {code} > -- This message was sent by Atlassian JIRA (v6.3.4#6332)