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 BFDBE19354 for ; Thu, 28 Apr 2016 07:47:13 +0000 (UTC) Received: (qmail 81487 invoked by uid 500); 28 Apr 2016 07:47:13 -0000 Delivered-To: apmail-ignite-issues-archive@ignite.apache.org Received: (qmail 81455 invoked by uid 500); 28 Apr 2016 07:47:13 -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 81432 invoked by uid 99); 28 Apr 2016 07:47:13 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 28 Apr 2016 07:47:13 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 69B3C2C1F5C for ; Thu, 28 Apr 2016 07:47:13 +0000 (UTC) Date: Thu, 28 Apr 2016 07:47:13 +0000 (UTC) From: "Vladimir Ozerov (JIRA)" To: issues@ignite.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (IGNITE-2865) Continuous query event passed to filter should be immutable for users. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/IGNITE-2865?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Vladimir Ozerov updated IGNITE-2865: ------------------------------------ Fix Version/s: (was: 1.6) 1.7 > Continuous query event passed to filter should be immutable for users. > ---------------------------------------------------------------------- > > Key: IGNITE-2865 > URL: https://issues.apache.org/jira/browse/IGNITE-2865 > Project: Ignite > Issue Type: Task > Components: cache > Affects Versions: 1.5.0.final > Reporter: Vladimir Ozerov > Priority: Critical > Labels: community, important > Fix For: 1.7 > > > *Problem* > When event is passed to continuous query filter, it can be used only in scope of this method. The reason is that if filter returns {{false}}, the method {{CacheContinuousQueryEntry.markFiltered()}} is called. This method *clears* key and values. > *Solution* > We should not clear key and values. Instead, we should properly check for {{FILTERED_ENTRY}} flag in all methods where {{key/newVal/oldVal/depInfo}} are used. This includes generated {{readFrom()/writeTo()}} methods as well - their manual change will be required. -- This message was sent by Atlassian JIRA (v6.3.4#6332)