ignite-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Denis Mekhanikov <dmekhani...@gmail.com>
Subject Local Continuous Query
Date Tue, 31 Jul 2018 10:19:04 GMT
Igniters,

As you may know, *ContinuousQuery
<https://ignite.apache.org/releases/latest/javadoc/org/apache/ignite/cache/query/ContinuousQuery.html>*
class
extends the *Query
<https://ignite.apache.org/releases/latest/javadoc/org/apache/ignite/cache/query/Query.html>
*class, so *setLocal *method is applicable to *ContinuousQuery *as well.
Behaviour of such queries is not documented at all, and it's unclear, how
they should work.

In particular, local continuous queries work differently for partitioned
and replicated caches, even if a node contains all backup partitions.
Listener for a local continuous query is invoked only for primary
partitions in case of a partitioned cache, and for all partitions in case
of a replicated cache.

Is it supposed to work like this?

I agree to leave this behaviour untouched, but it certainly needs to be
documented.

Denis

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message