You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "Mario Kevo (Jira)" <ji...@apache.org> on 2020/06/24 08:24:00 UTC

[jira] [Created] (GEODE-8292) CQs do not send back the right CREATE event but a UPDATE event once entry updated

Mario Kevo created GEODE-8292:
---------------------------------

             Summary: CQs do not send back the right CREATE event but a UPDATE event once entry updated
                 Key: GEODE-8292
                 URL: https://issues.apache.org/jira/browse/GEODE-8292
             Project: Geode
          Issue Type: Bug
          Components: cq
            Reporter: Mario Kevo


When CQs are installed at Geode server, they dynamically analyzes incoming updates/creates or deletion entries in the region.

If we have CQ something like "select * from /region i where i=1" and put some values with i=0, and after that we change it to 1 and again to 0 several times we got on listener some CREATE  and some UPDATE when it fulfilling cq condition.

The issue can be easily reproduced by geode-examples by modifying geode-examples/cq/src/main/java/org/apache/geode_examples/cq/Example.java to put  some entries with transactions and then update it.

 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)