You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "Barrett Oglesby (Jira)" <ji...@apache.org> on 2021/02/08 19:07:01 UTC

[jira] [Commented] (GEODE-8926) CQ events can be missed while executing with initial results simultaneously with transactions

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

Barrett Oglesby commented on GEODE-8926:
----------------------------------------

I attached a sequence diagram showing the the interleaved behavior that causes the issue.

> CQ events can be missed while executing with initial results simultaneously with transactions
> ---------------------------------------------------------------------------------------------
>
>                 Key: GEODE-8926
>                 URL: https://issues.apache.org/jira/browse/GEODE-8926
>             Project: Geode
>          Issue Type: Bug
>          Components: cq
>            Reporter: Barrett Oglesby
>            Priority: Major
>         Attachments: cq_with_transaction_behavior.png
>
>
> In this case, the event is not in either the initial results or received in the CqListener.
> A test that shows the behavior is:
> - 2 servers with:
>  - a root PR
>  - a colocated child PR
> In a client, asynchronously:
> - start a transaction that:
> - does N puts into the root PR
> - does 1 put into the child PR
> - commit the transaction
> In the client:
> create N CQs with initial results with: 'select * from /childPR'
> When the test succeeds, all the CQs either get the 1 event in their initial results or in their CqListener.
> When the test fails, one or more CQs don't see the event either way.



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