From issues-return-88202-archive-asf-public=cust-asf.ponee.io@ignite.apache.org Wed Jan 16 14:37:05 2019 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 E79E1180645 for ; Wed, 16 Jan 2019 14:37:04 +0100 (CET) Received: (qmail 85599 invoked by uid 500); 16 Jan 2019 13:37:04 -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 85586 invoked by uid 99); 16 Jan 2019 13:37:04 -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, 16 Jan 2019 13:37:04 +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 B1B47CBDF0 for ; Wed, 16 Jan 2019 13:37:03 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -109.501 X-Spam-Level: X-Spam-Status: No, score=-109.501 tagged_above=-999 required=6.31 tests=[ENV_AND_HDR_SPF_MATCH=-0.5, KAM_ASCII_DIVIDERS=0.8, 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-us.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id t2bx4suii4gM for ; Wed, 16 Jan 2019 13:37:02 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id D0A7561084 for ; Wed, 16 Jan 2019 13:37: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 25DF9E2676 for ; Wed, 16 Jan 2019 13:37:01 +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 7CCC625644 for ; Wed, 16 Jan 2019 13:37:00 +0000 (UTC) Date: Wed, 16 Jan 2019 13:37:00 +0000 (UTC) From: "Ivan Pavlukhin (JIRA)" To: issues@ignite.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Comment Edited] (IGNITE-10763) MVCC: Transaction already completed error in some tests 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-10763?page=3Dcom.atlassi= an.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D16= 744044#comment-16744044 ]=20 Ivan Pavlukhin edited comment on IGNITE-10763 at 1/16/19 1:36 PM: ------------------------------------------------------------------ [~gvvinblade], I updated the patch as you suggested. Could we go even furth= er and reset context in {{GridNearTxAbstractEnlistFuture#init}}? It will lo= ok nice because context will be set and cleared in the same class. Can such= way break something? was (Author: pavlukhin): [~gvvinblade], I updates the patch as you suggested. Could we go even furth= er and reset context in {{GridNearTxAbstractEnlistFuture#init}}? It will lo= ok nice because context will be set and cleared in the same class. Can such= way break something? > MVCC: Transaction already completed error in some tests > ------------------------------------------------------- > > Key: IGNITE-10763 > URL: https://issues.apache.org/jira/browse/IGNITE-10763 > Project: Ignite > Issue Type: Bug > Components: mvcc > Reporter: Roman Kondakov > Assignee: Ivan Pavlukhin > Priority: Major > Labels: MakeTeamcityGreenAgain, mvcc_stabilization_stage_1, = transactions > Fix For: 2.8 > > > =C2=A0"Transaction is already completed" error occurs time to time in som= e tests. Reproducer: > {{CacheMvccReplicatedSqlTxQueriesTest.testReplicatedAndPartitionedUpdateS= ingleTransaction}} > {{CacheMvccPartitionedSqlTxQueriesWithReducerTest.testQueryReducerDeadloc= kInsertWithTxTimeout}} > =C2=A0 > {noformat} > class org.apache.ignite.internal.processors.query.IgniteSQLException: Tra= nsaction is already completed. > =09at org.apache.ignite.internal.processors.cache.mvcc.MvccUtils.checkAct= ive(MvccUtils.java:660) > =09at org.apache.ignite.internal.processors.cache.mvcc.MvccUtils.requestS= napshot(MvccUtils.java:832) > =09at org.apache.ignite.internal.processors.cache.mvcc.MvccUtils.mvccTrac= ker(MvccUtils.java:813) > =09at org.apache.ignite.internal.processors.cache.mvcc.MvccUtils.mvccTrac= ker(MvccUtils.java:796) > =09at org.apache.ignite.internal.processors.query.h2.IgniteH2Indexing.run= QueryTwoStep(IgniteH2Indexing.java:1131) > =09at org.apache.ignite.internal.processors.query.h2.IgniteH2Indexing.doR= unDistributedQuery(IgniteH2Indexing.java:1990) > =09at org.apache.ignite.internal.processors.query.h2.IgniteH2Indexing.doR= unPrepared(IgniteH2Indexing.java:1636) > =09at org.apache.ignite.internal.processors.query.h2.IgniteH2Indexing.que= rySqlFields(IgniteH2Indexing.java:1526) > =09at org.apache.ignite.internal.processors.query.GridQueryProcessor$3.ap= plyx(GridQueryProcessor.java:2167) > =09at org.apache.ignite.internal.processors.query.GridQueryProcessor$3.ap= plyx(GridQueryProcessor.java:2162) > =09at org.apache.ignite.internal.util.lang.IgniteOutClosureX.apply(Ignite= OutClosureX.java:36) > =09at org.apache.ignite.internal.processors.query.GridQueryProcessor.exec= uteQuery(GridQueryProcessor.java:2670) > =09at org.apache.ignite.internal.processors.query.GridQueryProcessor.lamb= da$querySqlFields$1(GridQueryProcessor.java:2176) > =09at org.apache.ignite.internal.processors.query.GridQueryProcessor.exec= uteQuerySafe(GridQueryProcessor.java:2196) > =09at org.apache.ignite.internal.processors.query.GridQueryProcessor.quer= ySqlFields(GridQueryProcessor.java:2157) > =09at org.apache.ignite.internal.processors.query.GridQueryProcessor.quer= ySqlFields(GridQueryProcessor.java:2118) > =09at org.apache.ignite.internal.processors.query.GridQueryProcessor.quer= ySqlFields(GridQueryProcessor.java:2091) > =09at org.apache.ignite.internal.processors.cache.mvcc.CacheMvccReplicate= dSqlTxQueriesTest.runSql(CacheMvccReplicatedSqlTxQueriesTest.java:234) > =09at org.apache.ignite.internal.processors.cache.mvcc.CacheMvccReplicate= dSqlTxQueriesTest.testReplicatedAndPartitionedUpdateSingleTransaction(Cache= MvccReplicatedSqlTxQueriesTest.java:202) > =09at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > =09at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImp= l.java:62) > =09at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcc= essorImpl.java:43) > =09at java.lang.reflect.Method.invoke(Method.java:498) > =09at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(Framewo= rkMethod.java:47) > =09at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveC= allable.java:12) > =09at org.junit.runners.model.FrameworkMethod.invokeExplosively(Framework= Method.java:44) > =09at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeM= ethod.java:17) > =09at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefore= s.java:26) > =09at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.= java:27) > =09at org.junit.rules.TestWatcher$1.evaluate(TestWatcher.java:55) > =09at org.apache.ignite.testframework.junits.GridAbstractTest$7.run(GridA= bstractTest.java:2121) > =09at java.lang.Thread.run(Thread.java:748) > {noformat} -- This message was sent by Atlassian JIRA (v7.6.3#76005)