[ 
https://issues.apache.org/jira/browse/IGNITE-9009?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16603078#comment-16603078
 ] 

Denis Mekhanikov edited comment on IGNITE-9009 at 10/23/18 8:49 AM:
--------------------------------------------------------------------

[~agoncharuk], backups won't be notified, because they don't store the event 
queue. There are no ACKs sent to the backups.

I think, local continuous queries should work in isolation from each other.

If processing of cache events locally on all primary nodes is required, then 
[ContinuousQuery#remoteFilter|https://ignite.apache.org/releases/latest/javadoc/org/apache/ignite/cache/query/ContinuousQuery.html#setRemoteFilter-org.apache.ignite.cache.CacheEntryEventSerializableFilter-]
 should be used.


was (Author: dmekhanikov):
[~agoncharuk], backups won't be notified, because they don't store the event 
queue. There are no ACKs sent to the backups.

I think, local continuous queries should work in isolation from each other.

If processing of cache events locally on all primary nodes is required, then 
[Cache#registerCacheEntryListener|https://static.javadoc.io/javax.cache/cache-api/1.0.0/javax/cache/Cache.html#registerCacheEntryListener(javax.cache.configuration.CacheEntryListenerConfiguration)]
 should be used.

> Local continuous query listeners may be called on partition reassignment
> ------------------------------------------------------------------------
>
>                 Key: IGNITE-9009
>                 URL: https://issues.apache.org/jira/browse/IGNITE-9009
>             Project: Ignite
>          Issue Type: Bug
>    Affects Versions: 2.5
>            Reporter: Denis Mekhanikov
>            Assignee: Denis Mekhanikov
>            Priority: Major
>             Fix For: 2.8
>
>         Attachments: ContinuousQueryReassignmentTest.java
>
>
> When a node becomes primary for some partitions, then local continuous query 
> listeners receive updates on entries from that partitions. Such invocations 
> shouldn't happen.
> Attached test class demonstrates this behaviour.
> Dev list discussion: 
> http://apache-ignite-developers.2346864.n4.nabble.com/Backup-queue-for-local-continuous-query-td33391.html



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to