ignite-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Denis Mekhanikov (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (IGNITE-9009) Local continuous query listeners may be called on partition reassignment
Date Tue, 04 Sep 2018 13:54:00 GMT

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

Denis Mekhanikov commented on IGNITE-9009:

[~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.

This message was sent by Atlassian JIRA

View raw message