From issues-return-86329-archive-asf-public=cust-asf.ponee.io@ignite.apache.org Wed Dec 19 16:41:06 2018 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id 9A908180675 for ; Wed, 19 Dec 2018 16:41:04 +0100 (CET) Received: (qmail 94115 invoked by uid 500); 19 Dec 2018 15:41:03 -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 94106 invoked by uid 99); 19 Dec 2018 15:41:03 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 19 Dec 2018 15:41:03 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 5E7EC180DB2 for ; Wed, 19 Dec 2018 15:41:03 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -110.301 X-Spam-Level: X-Spam-Status: No, score=-110.301 tagged_above=-999 required=6.31 tests=[ENV_AND_HDR_SPF_MATCH=-0.5, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, USER_IN_DEF_SPF_WL=-7.5, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id 1DF0ORPjuNkv for ; Wed, 19 Dec 2018 15:41:01 +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 474F25FBBA for ; Wed, 19 Dec 2018 15:41:01 +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 782F6E00C9 for ; Wed, 19 Dec 2018 15:41:00 +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 3BF3723FD9 for ; Wed, 19 Dec 2018 15:41:00 +0000 (UTC) Date: Wed, 19 Dec 2018 15:41:00 +0000 (UTC) From: "Roman Kondakov (JIRA)" To: issues@ignite.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (IGNITE-10241) MVCC TX: orphaned remote transactions MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/IGNITE-10241?page=3Dcom.atlass= ian.jira.plugin.system.issuetabpanels:all-tabpanel ] Roman Kondakov updated IGNITE-10241: ------------------------------------ Labels: failover mvcc_stabilization_stage_1 (was: ) > MVCC TX: orphaned remote transactions > ------------------------------------- > > Key: IGNITE-10241 > URL: https://issues.apache.org/jira/browse/IGNITE-10241 > Project: Ignite > Issue Type: Bug > Components: mvcc > Reporter: Igor Seliverstov > Assignee: Igor Seliverstov > Priority: Major > Labels: failover, mvcc_stabilization_stage_1 > Fix For: 2.8 > > > {{*CacheMvccPartitionedSqlCoordinatorFailoverTest#testUpdate_N_Objects_Cl= ientServer_Backups2_Sql* occasionally fails with following error:}} > {code:java} > [2018-11-13 15:03:44,240][ERROR][sys-#19392%mvcc.CacheMvccPartitionedSqlC= oordinatorFailoverTest0%][GridDhtPartitionsExchangeFuture] Failed to notify= listener: o.a.i.i.processors.cache.distributed.dht.preloader.GridDhtPartit= ionsExchangeFuture$2@22ae2fbd > java.lang.ClassCastException: org.apache.ignite.internal.processors.cache= .distributed.dht.GridDhtTxRemote cannot be cast to org.apache.ignite.intern= al.processors.cache.distributed.near.GridNearTxLocal > at org.apache.ignite.internal.processors.cache.transactions.IgniteTxMana= ger.rollbackMvccTxOnCoordinatorChange(IgniteTxManager.java:327) > at org.apache.ignite.internal.processors.cache.mvcc.MvccProcessorImpl.on= ExchangeDone(MvccProcessorImpl.java:394) > at org.apache.ignite.internal.processors.cache.distributed.dht.preloader= .GridDhtPartitionsExchangeFuture.onDone(GridDhtPartitionsExchangeFuture.jav= a:2095) > at org.apache.ignite.internal.processors.cache.distributed.dht.preloader= .GridDhtPartitionsExchangeFuture.finishExchangeOnCoordinator(GridDhtPartiti= onsExchangeFuture.java:3391) > at org.apache.ignite.internal.processors.cache.distributed.dht.preloader= .GridDhtPartitionsExchangeFuture.onAllReceived(GridDhtPartitionsExchangeFut= ure.java:3157) > at org.apache.ignite.internal.processors.cache.distributed.dht.preloader= .GridDhtPartitionsExchangeFuture.processSingleMessage(GridDhtPartitionsExch= angeFuture.java:2773) > at org.apache.ignite.internal.processors.cache.distributed.dht.preloader= .GridDhtPartitionsExchangeFuture.access$100(GridDhtPartitionsExchangeFuture= .java:139) > at org.apache.ignite.internal.processors.cache.distributed.dht.preloader= .GridDhtPartitionsExchangeFuture$2.apply(GridDhtPartitionsExchangeFuture.ja= va:2578) > at org.apache.ignite.internal.processors.cache.distributed.dht.preloader= .GridDhtPartitionsExchangeFuture$2.apply(GridDhtPartitionsExchangeFuture.ja= va:2566) > at org.apache.ignite.internal.util.future.GridFutureAdapter.notifyListen= er(GridFutureAdapter.java:395) > at org.apache.ignite.internal.util.future.GridFutureAdapter.listen(GridF= utureAdapter.java:355) > at org.apache.ignite.internal.processors.cache.distributed.dht.preloader= .GridDhtPartitionsExchangeFuture.onReceiveSingleMessage(GridDhtPartitionsEx= changeFuture.java:2566) > at org.apache.ignite.internal.processors.cache.GridCachePartitionExchang= eManager.processSinglePartitionUpdate(GridCachePartitionExchangeManager.jav= a:1747) > at org.apache.ignite.internal.processors.cache.GridCachePartitionExchang= eManager.access$1200(GridCachePartitionExchangeManager.java:144) > at org.apache.ignite.internal.processors.cache.GridCachePartitionExchang= eManager$2.onMessage(GridCachePartitionExchangeManager.java:377) > at org.apache.ignite.internal.processors.cache.GridCachePartitionExchang= eManager$2.onMessage(GridCachePartitionExchangeManager.java:335) > at org.apache.ignite.internal.processors.cache.GridCachePartitionExchang= eManager$MessageHandler.apply(GridCachePartitionExchangeManager.java:3194) > at org.apache.ignite.internal.processors.cache.GridCachePartitionExchang= eManager$MessageHandler.apply(GridCachePartitionExchangeManager.java:3173) > at org.apache.ignite.internal.processors.cache.GridCacheIoManager.proces= sMessage(GridCacheIoManager.java:1054) > at org.apache.ignite.internal.processors.cache.GridCacheIoManager.onMess= age0(GridCacheIoManager.java:579) > at org.apache.ignite.internal.processors.cache.GridCacheIoManager.handle= Message(GridCacheIoManager.java:378) > at org.apache.ignite.internal.processors.cache.GridCacheIoManager.handle= Message(GridCacheIoManager.java:304) > at org.apache.ignite.internal.processors.cache.GridCacheIoManager.access= $100(GridCacheIoManager.java:100) > at org.apache.ignite.internal.processors.cache.GridCacheIoManager$1.onMe= ssage(GridCacheIoManager.java:294) > at org.apache.ignite.internal.managers.communication.GridIoManager.invok= eListener(GridIoManager.java:1568) > at org.apache.ignite.internal.managers.communication.GridIoManager.proce= ssRegularMessage0(GridIoManager.java:1196) > at org.apache.ignite.internal.managers.communication.GridIoManager.acces= s$4200(GridIoManager.java:127) > at org.apache.ignite.internal.managers.communication.GridIoManager$9.run= (GridIoManager.java:1092) > at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.= java:1149) > at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor= .java:624) > at java.lang.Thread.run(Thread.java:748) > {code} > Seems there is an issue with committing/rolling back transactions on topo= logy changes because we expect all transactions holding topology locks to b= e finished at this time. Mvcc updates lock topology and produce remote txs = at once, in other words=C2=A0existence of active remote txs implies pending= updates and locked topology which cannot be true because of being finished= exchange (all old txs are finished, all new txs are waiting for topology). > Need to be investigated. -- This message was sent by Atlassian JIRA (v7.6.3#76005)