From issues-return-86825-archive-asf-public=cust-asf.ponee.io@ignite.apache.org Mon Dec 24 14:19:04 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 CE502180660 for ; Mon, 24 Dec 2018 14:19:03 +0100 (CET) Received: (qmail 20553 invoked by uid 500); 24 Dec 2018 13:19: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 20544 invoked by uid 99); 24 Dec 2018 13:19:03 -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; Mon, 24 Dec 2018 13:19:02 +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 92A7AC3528 for ; Mon, 24 Dec 2018 13:19:02 +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 zC_gf5VkjxWo for ; Mon, 24 Dec 2018 13:19:01 +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 025125F1C7 for ; Mon, 24 Dec 2018 13:19: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 5124BE02EB for ; Mon, 24 Dec 2018 13:19: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 0A19225348 for ; Mon, 24 Dec 2018 13:19:00 +0000 (UTC) Date: Mon, 24 Dec 2018 13:19:00 +0000 (UTC) From: "Ignite TC Bot (JIRA)" To: issues@ignite.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (IGNITE-10794) MVCC: RemoveAll is broken on unstable topology 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-10794?page=3Dcom.atlassi= an.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D16= 728395#comment-16728395 ]=20 Ignite TC Bot commented on IGNITE-10794: ---------------------------------------- {panel:title=3D-> Run :: IntelliJ IDEA Inspections: No blockers found!|b= orderStyle=3Ddashed|borderColor=3D#ccc|titleBGColor=3D#D6F7C1}{panel} [TeamCity *-> Run :: IntelliJ IDEA Inspections* Results|https://ci.ignit= e.apache.org/viewLog.html?buildId=3D2635108&buildTypeId=3DIgniteTests24= Java8_RunIntelliJIdeaInspections] > MVCC: RemoveAll is broken on unstable topology > ---------------------------------------------- > > Key: IGNITE-10794 > URL: https://issues.apache.org/jira/browse/IGNITE-10794 > Project: Ignite > Issue Type: Bug > Components: mvcc > Reporter: Andrew Mashenkov > Assignee: Andrew Mashenkov > Priority: Critical > Labels: Hanging, mvcc_stabilization_stage_1, transaction > > Enlist batch=C2=A0holds key and values in arrays structures. This implies= that keys and vals arrays sizes should be equals. > Also, we have an optimization and do not save=C2=A0'null'=C2=A0vals for '= remove' operation. > This invariant can become broken on removeAll operation for 2 entries bel= onging to partitions in different states (moving and owning). For the first= one, it's 'mvcc history' will be added to 'vals' array, but nothing will b= e added for the second one. > Reproducer=C2=A0IgniteCacheEntryProcessorNodeJoinTest.testEntryProcessorN= odeLeave > See stacktrace: > {noformat} > java.lang.AssertionError:=20 > at org.apache.ignite.internal.processors.cache.distributed.dht.GridDhtTxA= bstractEnlistFuture$Batch.add(GridDhtTxAbstractEnlistFuture.java:1156) > at org.apache.ignite.internal.processors.cache.distributed.dht.GridDhtTxA= bstractEnlistFuture.addToBatch(GridDhtTxAbstractEnlistFuture.java:705) > at org.apache.ignite.internal.processors.cache.distributed.dht.GridDhtTxA= bstractEnlistFuture.processEntry(GridDhtTxAbstractEnlistFuture.java:650) > at org.apache.ignite.internal.processors.cache.distributed.dht.GridDhtTxA= bstractEnlistFuture.continueLoop(GridDhtTxAbstractEnlistFuture.java:533) > at org.apache.ignite.internal.processors.cache.distributed.dht.GridDhtTxA= bstractEnlistFuture.init(GridDhtTxAbstractEnlistFuture.java:362) > at org.apache.ignite.internal.processors.cache.distributed.near.GridNearT= xEnlistFuture.enlistLocal(GridNearTxEnlistFuture.java:531) > at org.apache.ignite.internal.processors.cache.distributed.near.GridNearT= xEnlistFuture.sendBatch(GridNearTxEnlistFuture.java:426) > at org.apache.ignite.internal.processors.cache.distributed.near.GridNearT= xEnlistFuture.sendNextBatches(GridNearTxEnlistFuture.java:173) > at org.apache.ignite.internal.processors.cache.distributed.near.GridNearT= xEnlistFuture.map(GridNearTxEnlistFuture.java:149) > at org.apache.ignite.internal.processors.cache.distributed.near.GridNearT= xAbstractEnlistFuture.mapOnTopology(GridNearTxAbstractEnlistFuture.java:342= ) > at org.apache.ignite.internal.processors.cache.distributed.near.GridNearT= xAbstractEnlistFuture.init(GridNearTxAbstractEnlistFuture.java:257) > at org.apache.ignite.internal.processors.cache.distributed.near.GridNearT= xLocal.updateAsync(GridNearTxLocal.java:2074) > at org.apache.ignite.internal.processors.cache.distributed.near.GridNearT= xLocal.mvccRemoveAllAsync0(GridNearTxLocal.java:1951) > at org.apache.ignite.internal.processors.cache.distributed.near.GridNearT= xLocal.removeAllAsync0(GridNearTxLocal.java:1670) > at org.apache.ignite.internal.processors.cache.distributed.near.GridNearT= xLocal.removeAllAsync(GridNearTxLocal.java:550) > {noformat} -- This message was sent by Atlassian JIRA (v7.6.3#76005)