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 2081B184CA for ; Fri, 31 Jul 2015 19:23:22 +0000 (UTC) Received: (qmail 33833 invoked by uid 500); 31 Jul 2015 19:23:22 -0000 Delivered-To: apmail-ignite-dev-archive@ignite.apache.org Received: (qmail 33788 invoked by uid 500); 31 Jul 2015 19:23:22 -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 33777 invoked by uid 99); 31 Jul 2015 19:23:22 -0000 Received: from Unknown (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 31 Jul 2015 19:23:22 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 97343C0337 for ; Fri, 31 Jul 2015 19:23:21 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -0.01 X-Spam-Level: X-Spam-Status: No, score=-0.01 tagged_above=-999 required=6.31 tests=[T_RP_MATCHES_RCVD=-0.01] autolearn=disabled Received: from mx1-eu-west.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id o6mWBrgayu9z for ; Fri, 31 Jul 2015 19:23:06 +0000 (UTC) Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx1-eu-west.apache.org (ASF Mail Server at mx1-eu-west.apache.org) with SMTP id 7984220DD8 for ; Fri, 31 Jul 2015 19:23:05 +0000 (UTC) Received: (qmail 33563 invoked by uid 99); 31 Jul 2015 19:23:04 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 31 Jul 2015 19:23:04 +0000 Date: Fri, 31 Jul 2015 19:23:04 +0000 (UTC) From: "Valentin Kulichenko (JIRA)" To: dev@ignite.incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (IGNITE-1186) Filter is sent instead of factory when continuous query is created MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Valentin Kulichenko created IGNITE-1186: ------------------------------------------- Summary: Filter is sent instead of factory when continuous query is created Key: IGNITE-1186 URL: https://issues.apache.org/jira/browse/IGNITE-1186 Project: Ignite Issue Type: Bug Components: cache Affects Versions: 1.1.4 Reporter: Valentin Kulichenko Priority: Critical {{CacheContinuousQueryHandler}}, which is sent to remote nodes on query creation always contains {{CacheEntryEventSerializableFilter}}. This is OK for our {{ContinuousQuery}} API, because it doesn't work with factories, but not OK for JCache entry listener API. {{CacheEntryListenerConfiguration}} contains factory and it's assumed that the filter is created on remote node and is never sent through network. But we require the filter to be {{Serializable}}. We need to always send factory instead of the filter. In case of {{ContinuousQuery}} API we can use singleton factory that will wrap the instance that already exist. -- This message was sent by Atlassian JIRA (v6.3.4#6332)