Return-Path: X-Original-To: apmail-ignite-dev-archive@minotaur.apache.org Delivered-To: apmail-ignite-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id ACB1910902 for ; Thu, 5 Mar 2015 09:49:17 +0000 (UTC) Received: (qmail 63327 invoked by uid 500); 5 Mar 2015 09:49:17 -0000 Delivered-To: apmail-ignite-dev-archive@ignite.apache.org Received: (qmail 63291 invoked by uid 500); 5 Mar 2015 09:49:17 -0000 Mailing-List: contact dev-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 dev@ignite.incubator.apache.org Received: (qmail 63279 invoked by uid 99); 5 Mar 2015 09:49:17 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 Mar 2015 09:49:17 +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; Thu, 05 Mar 2015 09:48:56 +0000 Received: (qmail 60208 invoked by uid 99); 5 Mar 2015 09:47:38 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 Mar 2015 09:47:38 +0000 Date: Thu, 5 Mar 2015 09:47:38 +0000 (UTC) From: "Vladimir Ozerov (JIRA)" To: dev@ignite.incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (IGNITE-19) Race condition when offheaped value is being promoted to swap. 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 [ https://issues.apache.org/jira/browse/IGNITE-19?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Vladimir Ozerov updated IGNITE-19: ---------------------------------- Assignee: (was: Vladimir Ozerov) > Race condition when offheaped value is being promoted to swap. > -------------------------------------------------------------- > > Key: IGNITE-19 > URL: https://issues.apache.org/jira/browse/IGNITE-19 > Project: Ignite > Issue Type: Bug > Components: cache > Affects Versions: sprint-1 > Reporter: Vladimir Ozerov > Priority: Critical > Fix For: sprint-2 > > > Eviction from offheap to swap is done using listener on GridUnsafeMap. Notification of this listener happens when value is already deleted from offheap and lock is released (GridUnsafeMap line 860). So "get" operation on cache can miss the value while it is in between. > Need to: > 1) Review this code piece; > 2) Create a test reproducing the issue; > 3) Fix it. -- This message was sent by Atlassian JIRA (v6.3.4#6332)