Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 18BC2200B3C for ; Wed, 29 Jun 2016 02:59:10 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 1755E160A6C; Wed, 29 Jun 2016 00:59:10 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 11276160A56 for ; Wed, 29 Jun 2016 02:59:08 +0200 (CEST) Received: (qmail 28007 invoked by uid 500); 29 Jun 2016 00:59:08 -0000 Mailing-List: contact user-help@ignite.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@ignite.apache.org Delivered-To: mailing list user@ignite.apache.org Received: (qmail 27997 invoked by uid 99); 29 Jun 2016 00:59:08 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 29 Jun 2016 00:59:08 +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 C12F2C030A for ; Wed, 29 Jun 2016 00:59:07 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.108 X-Spam-Level: ** X-Spam-Status: No, score=2.108 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_PASS=-0.001, T_DKIM_INVALID=0.01] autolearn=disabled Authentication-Results: spamd4-us-west.apache.org (amavisd-new); dkim=fail (1024-bit key) reason="fail (body has been altered)" header.d=macquariegroup.onmicrosoft.com Received: from mx2-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id Xar7V-Kx3Xbe for ; Wed, 29 Jun 2016 00:59:05 +0000 (UTC) Received: from mail1.bemta12.messagelabs.com (mail1.bemta12.messagelabs.com [216.82.251.8]) by mx2-lw-eu.apache.org (ASF Mail Server at mx2-lw-eu.apache.org) with ESMTPS id 6E4DC60CE7 for ; Wed, 29 Jun 2016 00:59:04 +0000 (UTC) Received: from [216.82.249.35] by server-8.bemta-12.messagelabs.com id 10/A2-27267-15D13775; Wed, 29 Jun 2016 00:58:57 +0000 X-Brightmail-Tracker: H4sIAAAAAAAAA1WSbUhTYRTHe3bvrjfZretMPQ6NGomhbjQpiwi yFyKKIOrDIIq6s5u7tRe5d8VEyl4s56RSepHEUsNMJP2gBGYRtRDfCkti2bAkJ0nayjbwJUva 9VGr59PvnP//Oc85D4cm1C2UhuadDl60cRYtFUl2pZ5brtubKBnXuH4s3RAMBslMtNN1LWMvO qAUbCa784jS/OpVA5Uznuos/FlBnUUvkt1oMQ3sWnhaHCLcKJJWs80IJvqLEQ56EAyHbpM4eI GgY+QdhYN2BK0XCxRyQLIlBAz7G0i5mJrtRfCm2oJdHgTjI00RbkTTFGuA0fc7ZM8ydh24KiY pmaPZeCjq/RmB88uhwT9DYtaDt79UKTPJJsFU99dZZtiDUD52ZdaP2FiY6HqgkJlg48A3VKnA A7FQ86SHwBwDX/wzSuw/BHUlk3OelVDo/R2BeQ9cKLyrlHsG9jIBnu/nKSzsgM5vz5WYY2Gss ZTEfAKmrt6bu7wRXKXtc5fvIwgEquZMCdBX1kFhoZKC6ksTCH8RDwOfbxF4fA18eFuESlBK+T 9TYLZBc22rsnx26ijovDVE4nwaVD0OUphTobZ6lJjnl8/8in/zVSiiHq2WePEUL+oM6XqTKGS bHVZOsOgM4dDKSxKXzVs4k6TPslubUHiLFoVPC+q5uc2D4mmFNoYRB0WjeonJfjTXzEnmw+JJ Cy95UAJNa4HJSpCM6iiRz+adxwRLeBXnZaBV2mXMfllmpBzOKgnZWOpCOtpz42ODQk3a7DZeE 8dYZRMrm8wnbQsl5he6FyVqohkUbkqtyuFFq+D4Xx9BcTTSRjOSXEUl2BwLL42Em1CEm1Dm2e UmHNxfSXMWbd13JjdQb8znd7p7B4OmtPoB4X6kd7XvnrGqb5MqxOrH1oceH3+YmVdOTtb6ht6 eriwZDmSs2lXgmnqWlO/L+uVMhzrjk6fNaW7firK+zZ+u18TcLmt83TbzOmPcy669c7qomxF9 Sdrfu3cTeqnNM7S9RazYwk8XP/InTidXa0nJzBlSCFHi/gAVMovmywMAAA== X-Env-Sender: Alex.Osmakoff@macquarie.com X-Msg-Ref: server-14.tower-138.messagelabs.com!1467161822!42390078!44 X-Originating-IP: [202.43.129.30] X-StarScan-Received: X-StarScan-Version: 8.46; banners=macquarie.com,-,- X-VirusChecked: Checked Received: (qmail 10940 invoked from network); 29 Jun 2016 00:58:56 -0000 Received: from unknown (HELO vasydegp807.macquarie.com) (202.43.129.30) by server-14.tower-138.messagelabs.com with DHE-RSA-AES256-GCM-SHA384 encrypted SMTP; 29 Jun 2016 00:58:56 -0000 X-AuditID: ac11d456-61fff70000000ba7-be-57731d4f7ce3 Received: from NTSYDEXP142.pc.internal.macquarie.com ( [10.137.249.30]) by (Symantec Messaging Gateway) with SMTP id 43.E5.02983.F4D13775; Wed, 29 Jun 2016 10:58:55 +1000 (AEST) Received: from NTSYDEXP165.pc.internal.macquarie.com (172.20.190.11) by NTSYDEXP142.pc.internal.macquarie.com (10.134.151.12) with Microsoft SMTP Server (TLS) id 14.3.279.2; Wed, 29 Jun 2016 10:58:55 +1000 Received: from NTSYDEXP804.macquarie.com (203.210.72.40) by NTSYDEXP165.pc.internal.macquarie.com (172.20.190.11) with Microsoft SMTP Server (TLS) id 14.3.279.2; Wed, 29 Jun 2016 10:58:55 +1000 Received: from AUS01-ME1-obe.outbound.protection.outlook.com (65.55.88.148) by SYDMTA01.macquarie.com (203.210.72.40) with Microsoft SMTP Server (TLS) id 14.3.248.2; Wed, 29 Jun 2016 10:58:44 +1000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=macquariegroup.onmicrosoft.com; s=selector1-macquarie-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=UOvMA7yKz7p+eBP6BskSZj69XtW0tTKf6hvSeS3XPhs=; b=n78EkZZiHBRn89HpYhMA56HrL10OIvrLyKDM2wHrrAm6ttCnNT5qMeFc7dYhGl+JD2QIu8Yj5Pbz3wZobsMGoELLxie9r8yrY5UdVsO6xbFCu4D86D4Cx55yap0nlaVpoY5b9yVjb6xWIy+VFtthTfnMNmOM91Z+xZ0RDYdbzoo= Received: from ME1PR01MB0466.ausprd01.prod.outlook.com (10.162.67.20) by ME1PR01MB0466.ausprd01.prod.outlook.com (10.162.67.20) with Microsoft SMTP Server (TLS) id 15.1.528.16; Wed, 29 Jun 2016 00:58:49 +0000 Received: from ME1PR01MB0466.ausprd01.prod.outlook.com ([10.162.67.20]) by ME1PR01MB0466.ausprd01.prod.outlook.com ([10.162.67.20]) with mapi id 15.01.0528.017; Wed, 29 Jun 2016 00:58:49 +0000 From: Alex Osmakoff To: "user@ignite.apache.org" Subject: Continuous Query Thread-Topic: Continuous Query Thread-Index: AdHRnu4JUWeNdl0ATpOOVa0+rBYV1w== Date: Wed, 29 Jun 2016 00:58:48 +0000 Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [203.210.69.66] x-ms-office365-filtering-correlation-id: 0096411c-c029-41e1-32bb-08d39fb88854 x-microsoft-exchange-diagnostics: 1;ME1PR01MB0466;20:YHq8jSGJ72wy4JFIy22lQURAu9ZNYH/0tW1PKg7Z+m/MUqnU3xT7gbFzm55wDqIaqSZrKNl33i8Ijg80SWUfi4tC962r/R4s54WdaMjSJLiplAi5Efce3S5/emSRPVnotflM+bcNJBRUKLLpY5aaMkse34TZL9q08rrTftOd7Wjnb6QAJUtVMVO6pJSwaIkmE1NrXfkcP/n4X6atU+E4QqCJtCA0xwKqAJmjffHKH73SpfDshMDCZjCAnqLWI7+jieV/gG3+DU4QPXKnm8suiqy3XcAkyI3JUsxXoYpwM7PpIBXWJT7jBmaN8heJunXrBs36jx6QY8X7u2t/c/dq/g== x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:ME1PR01MB0466; x-mgl-eds-tagall: True x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(21748063052155); x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(2401047)(5005006)(8121501046)(10201501046)(3002001);SRVR:ME1PR01MB0466;BCL:0;PCL:0;RULEID:;SRVR:ME1PR01MB0466; x-forefront-prvs: 09888BC01D x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(6009001)(7916002)(199003)(189002)(66654002)(5002640100001)(54356999)(221733001)(101416001)(66066001)(50986999)(110136002)(586003)(97736004)(9686002)(87936001)(10400500002)(92566002)(19580395003)(122556002)(11100500001)(7846002)(6116002)(3846002)(102836003)(790700001)(107886002)(19625215002)(7696003)(5003600100003)(7736002)(1730700003)(106356001)(81166006)(81156014)(2501003)(77096005)(2351001)(2906002)(8676002)(450100001)(33656002)(74316001)(105586002)(16236675004)(3660700001)(3480700004)(3280700002)(15975445007)(2900100001)(68736007)(9326002)(19300405004)(229853001)(189998001)(8936002)(76576001)(86362001);DIR:OUT;SFP:1102;SCL:1;SRVR:ME1PR01MB0466;H:ME1PR01MB0466.ausprd01.prod.outlook.com;FPR:;SPF:None;PTR:InfoNoRecords;A:1;MX:1;LANG:en; received-spf: None (protection.outlook.com: macquarie.com does not designate permitted sender hosts) spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: multipart/alternative; boundary="_000_ME1PR01MB04664C45E8E1420D22EE2248EB230ME1PR01MB0466ausp_" MIME-Version: 1.0 X-MS-Exchange-CrossTenant-originalarrivaltime: 29 Jun 2016 00:58:48.1156 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 568a5434-7d3f-4714-b824-fe722e2748c0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: ME1PR01MB0466 X-OriginatorOrg: macquarie.com X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFupileLIzCtJLcpLzFFi42Lh6vwpp+svWxxucHOuqMWnT59YHBg9Oiab BTBGcdmkpOZklqUW6dslcGUs2fWEseC3TkX7rzlsDYyH1bsYOTkkBEwk9nV/Zu5i5OIQEtjC KLHyyVlWCOcio8T+txugnKOMEhuO7mKBcE4yShxasBDMYRGYwiyx+PhJqLIrjBILOl5DTTvC KPF96lW2LkYODjYBQ4nXN91ANooImEp0zPnBBmILC0hKdF76xQ4Rl5NY+/gfC4StJ3HtzkRW EJtFQFXi5+k3YDavQIzErA99YPWMAmIS30+tYQKxmQXEJW49mc8E8ZGAxJI955khbFGJl4// sULUx0m0/3nBAhFXlGi/9pcdwvaVaG5fBPaAhEAvs8Sh901sEAk3iZPvDrJC2GISH9ZNhGrO lvjZvxSq2UqiY+JxqObljBJv3y6AKpKRuDH9BBtEYj6bxMK274wgCSGBNIkL3/tYId6Xkrh7 pZNxAqPmLCRfQNj5Em2fJrHOAvtaUOLkzCcsEHEdiQW7P7FB2NoSyxa+Zoaxzxx4zIQsvoCR fRWjZFlicWVKanqBhYG5Xm5icmFpYlFmql5yfu4mRmDiWSN4JWwH47w3rocYBTgYlXh4L+wv ChdiTSwrrsw9xCjNwaIkzvuy+3mYkEB6YklqdmpqQWpRfFFpTmrxIUYmDk6pBsbAmN6EpDdS mfHObpxF5wrv3tOf4S4lptLYV2j7oTbjhaXX5omXOCMapp9PTuy2skrRtj69/MyP9jUr/2oq XJF/bpTeLP911828vPrCNZ+yG/cWdebNNsjc5Kwz2dY3+nTdAj6e28GB/1nqDsmsjY3bJae4 NmQVy3wfhmcMqicznU6tntAfq8RSnJFoqMVcVJwIABfNr34dAwAA archived-at: Wed, 29 Jun 2016 00:59:10 -0000 --_000_ME1PR01MB04664C45E8E1420D22EE2248EB230ME1PR01MB0466ausp_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi There, I am using Continuous Query mechanism and most of the time it works just f= ine. However, in some cases, it seems intermittently, CQ does not pick up = the update in the cache where it should. Could you please clarify the behaviour of Continuous Query in the followin= g scenario: My business logic might create multiple identical CQs in separate processi= ng tasks. As I have no control on where the particular task gets executed = within the grid it is possible that two identical queries gets created on = the same node. Now when the cache gets updated and remote filter picks up = the update to pass it to the local listener of the query, would local list= eners in both queries be notified or only one? I think the same applies to= CACHE_PUT_EVENT propagation in general: if there are two (or more) listen= ers and only one event would all the listeners be notified regardless of t= heir location? Many thanks, Regards, Alex This email and any attachment is confidential. If you are not the intended= recipient, please delete this message. Macquarie does not guarantee the i= ntegrity of any emails or attachments. For important disclosures and infor= mation about the incorporation and regulated status of Macquarie Group ent= ities please see: www.macquarie.com/disclosures --_000_ME1PR01MB04664C45E8E1420D22EE2248EB230ME1PR01MB0466ausp_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Hi There,

 

I am using Continuous Query mechanism and most of t= he time it works just fine. However, in some cases, it seems intermittentl= y, CQ does not pick up the update in the cache where it should.

 

Could you please clarify the behaviour of Continuou= s Query in the following scenario:

 

My business logic might create multiple identical C= Qs in separate processing tasks. As I have no control on where the particu= lar task gets executed within the grid it is possible that two identical queries gets created on the same node. Now when the ca= che gets updated and remote filter picks up the update to pass it to the l= ocal listener of the query, would local listeners in both queries be notif= ied or only one? I think the same applies to CACHE_PUT_EVENT propagation in general: if there are two (or more) lis= teners and only one event would all the listeners be notified regardless o= f their location?

 

Many thanks,

 

Regards,

 

Alex


This email and any attachment is confidential. If you are not the intended= recipient, please delete this message. Macquarie does not guarantee the i= ntegrity of any emails or attachments. For important disclosures and infor= mation about the incorporation and regulated status of Macquarie Group ent= ities please see: www.macquarie.com/disclosures
--_000_ME1PR01MB04664C45E8E1420D22EE2248EB230ME1PR01MB0466ausp_--