[
https://issues.apache.org/jira/browse/IGNITE-3878?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15859367#comment-15859367
]
Yakov Zhdanov commented on IGNITE-3878:
---------------------------------------
[~dreamx], [~ntikhonov], I see the following code
{noformat}
if (!asyncCallback()) {
assertEquals(1, lsnr.getCountPrimary());
assertTrue(lsnr.getCountBackup() > 1);
}
{noformat}
and I don't get it. My understanding that listener should be called on primary
and backups no matter sync or async mode is used. I removed this {{if}} and
async notification tests started failing.
[~ntikhonov], you should work together with Maksim and refactor tests to get
consistent checks.
> Add isPrimary() and isBackup() methods on CacheQUeryEntryEvent
> --------------------------------------------------------------
>
> Key: IGNITE-3878
> URL: https://issues.apache.org/jira/browse/IGNITE-3878
> Project: Ignite
> Issue Type: Improvement
> Components: cache
> Affects Versions: 1.7
> Reporter: Nikolay Tikhonov
> Assignee: Maksim Kozlov
> Priority: Minor
>
> In some cases useful know where (on primary or backup nodes) was invoked a
> continuous query filter.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)