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 9526F178AB for ; Wed, 25 Mar 2015 17:51:29 +0000 (UTC) Received: (qmail 78285 invoked by uid 500); 25 Mar 2015 17:51:16 -0000 Delivered-To: apmail-ignite-issues-archive@ignite.apache.org Received: (qmail 78264 invoked by uid 500); 25 Mar 2015 17:51:16 -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 78255 invoked by uid 99); 25 Mar 2015 17:51:16 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 25 Mar 2015 17:51:16 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.3] (HELO mail.apache.org) (140.211.11.3) by apache.org (qpsmtpd/0.29) with SMTP; Wed, 25 Mar 2015 17:51:15 +0000 Received: (qmail 76136 invoked by uid 99); 25 Mar 2015 17:50:54 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 25 Mar 2015 17:50:54 +0000 Date: Wed, 25 Mar 2015 17:50:54 +0000 (UTC) From: "Artem Shutak (JIRA)" To: issues@ignite.incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (IGNITE-592) [Test] Null can be erroneously passed to filter in optimistic transaction MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org Artem Shutak created IGNITE-592: ----------------------------------- Summary: [Test] Null can be erroneously passed to filter in optimistic transaction Key: IGNITE-592 URL: https://issues.apache.org/jira/browse/IGNITE-592 Project: Ignite Issue Type: Bug Reporter: Artem Shutak Assignee: Yakov Zhdanov Fix For: sprint-3 For optimsitic transaction filter is applied in GridCacheTxLocalAdapter.enlistWrite, and there are two issues: - when put is started from backup node we pass to filter detached entry without value, so that GridCacheEntry.peek returns null even if we have value locally - when offheap is enabled then entry is unswapped before it is passed to filter, but there is a race so that another thread can swap it again before filter is applied (GridCacheOffHeapMultiThreadedUpdateSelfTest.testPutWithFilterTx) see GG-8118 -- This message was sent by Atlassian JIRA (v6.3.4#6332)