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 52FE5200C1C for ; Wed, 1 Feb 2017 06:06:00 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 51A67160B62; Wed, 1 Feb 2017 05:06:00 +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 99560160B52 for ; Wed, 1 Feb 2017 06:05:59 +0100 (CET) Received: (qmail 15187 invoked by uid 500); 1 Feb 2017 05:05:58 -0000 Mailing-List: contact issues-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 issues@ignite.apache.org Received: (qmail 15178 invoked by uid 99); 1 Feb 2017 05:05:58 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Feb 2017 05:05:58 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 049FAC086F for ; Wed, 1 Feb 2017 05:05:58 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -1.199 X-Spam-Level: X-Spam-Status: No, score=-1.199 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, KAM_LAZY_DOMAIN_SECURITY=1, RP_MATCHES_RCVD=-2.999] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id w_BRAruCHN1R for ; Wed, 1 Feb 2017 05:05:57 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id 5EE865FB0F for ; Wed, 1 Feb 2017 05:05:56 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 11137E02D5 for ; Wed, 1 Feb 2017 05:05:53 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 22D6425286 for ; Wed, 1 Feb 2017 05:05:52 +0000 (UTC) Date: Wed, 1 Feb 2017 05:05:52 +0000 (UTC) From: "Alexandr Kuramshin (JIRA)" To: issues@ignite.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Assigned] (IGNITE-4632) AffinityFunction unchecked exception handling (unassigned backup) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Wed, 01 Feb 2017 05:06:00 -0000 [ https://issues.apache.org/jira/browse/IGNITE-4632?page=3Dcom.atlassi= an.jira.plugin.system.issuetabpanels:all-tabpanel ] Alexandr Kuramshin reassigned IGNITE-4632: ------------------------------------------ Assignee: Alexey Dmitriev > AffinityFunction unchecked exception handling (unassigned backup) > ----------------------------------------------------------------- > > Key: IGNITE-4632 > URL: https://issues.apache.org/jira/browse/IGNITE-4632 > Project: Ignite > Issue Type: Bug > Components: general > Affects Versions: 1.8 > Reporter: Alexandr Kuramshin > Assignee: Alexey Dmitriev > Priority: Minor > > {{AffinityFunction}} implementation may throw unchecked exception upon as= signment. In some cases additional processing should be performed when affi= nity function method invocation throws an exception. > Special case when the cache with backups is running, and a node with a pr= imary partition will left. Then we get the primary partition unassigned if = {{AffinityFunction.partition(Object)}} throws an exception. My suggestion i= s to shutdown the node in such the case (like SEGMENTED), because the clust= er could not work normally without the primary partition assigned. > {noformat} > Failed processing message [senderId=3D8a1ab9a3-786e-4601-ba22-efd380849d9= 9, msg=3DGridDhtPartitionSupplyMessageV2 [updateSeq=3D16069, topVer=3DAffin= ityTopologyVersion [topVer=3D7, minorTopVer=3D0], missed=3D[16, 17, 33, 22,= 56, 10], clean=3D[0, 1, 2, 34, 3, 5, 7, 9, 45, 46, 49, 18, 50, 55, 25, 26,= 58, 29, 61], msgSize=3D0, size=3D19, parts=3D[0, 1, 2, 34, 3, 5, 7, 9, 45,= 46, 49, 18, 50, 55, 25, 26, 58, 29, 61], super=3DGridCacheMessage [msgId= =3D70098615, depInfo=3Dnull, err=3Dnull, skipPrepare=3Dfalse, cacheId=3D-14= 8990687, cacheId=3D-148990687]]] > com.sbt.persistence.exceptions.DPLException: ParticleKeyMapper =D0=BD=D0= =B5 =D0=BC=D0=BE=D0=B6=D0=B5=D1=82 =D0=BE=D0=B1=D1=80=D0=B0=D1=82=D1=8B=D0= =B2=D0=B0=D1=82=D1=8C =D0=BD=D0=B8=D0=BA=D0=B0=D0=BA=D0=B8=D1=85 =D0=B4=D1= =80=D1=83=D0=B3=D0=B8=D1=85 =D0=BE=D0=B1=D1=8A=D0=B5=D0=BA=D1=82=D0=BE=D0= =B2 =D0=BA=D1=80=D0=BE=D0=BC=D0=B5 =D0=9E=D0=A3. =D0=A1=D0=B8=D1=81=D1=82= =D0=B5=D0=BC=D0=BD=D0=B0=D1=8F =D0=BE=D1=88=D0=B8=D0=B1=D0=BA=D0=B0 - =D0= =BE=D0=B1=D1=80=D0=B0=D1=82=D0=B8=D1=82=D0=B5=D1=81=D1=8C =D0=B2 =D1=81=D0= =BB=D1=83=D0=B6=D0=B1=D1=83 =D1=82=D0=B5=D1=85=D0=BD=D0=B8=D1=87=D0=B5=D1= =81=D0=BA=D0=BE=D0=B9 =D0=BF=D0=BE=D0=B4=D0=B4=D0=B5=D1=80=D0=B6=D0=BA=D0= =B8 DPL > at com.sbt.dpl.gridgain.ParticleAffinityFunction.partition(ParticleAffin= ityFunction.java:67) > at org.apache.ignite.internal.processors.cache.GridCacheAffinityManager.= partition(GridCacheAffinityManager.java:219) > at org.apache.ignite.internal.processors.cache.GridCacheAffinityManager.= partition(GridCacheAffinityManager.java:194) > at org.apache.ignite.internal.processors.cache.GridCacheAffinityManager.= localNode(GridCacheAffinityManager.java:382) > at org.apache.ignite.internal.processors.cache.distributed.dht.preloader= .GridDhtPartitionDemander.handleSupplyMessage(GridDhtPartitionDemander.java= :680) > at org.apache.ignite.internal.processors.cache.distributed.dht.preloader= .GridDhtPreloader.handleSupplyMessage(GridDhtPreloader.java:390) > at org.apache.ignite.internal.processors.cache.GridCachePartitionExchang= eManager$5.apply(GridCachePartitionExchangeManager.java:395) > at org.apache.ignite.internal.processors.cache.GridCachePartitionExchang= eManager$5.apply(GridCachePartitionExchangeManager.java:385) > at org.apache.ignite.internal.processors.cache.GridCacheIoManager.proces= sMessage(GridCacheIoManager.java:758) > {noformat} -- This message was sent by Atlassian JIRA (v6.3.15#6346)