Uploaded image for project: 'Geode'
  1. Geode
  2. GEODE-8926

CQ events can be missed while executing with initial results simultaneously with transactions

    XMLWordPrintableJSON

Details

    Description

      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.

      Attachments

        1. cq_with_transaction_behavior.png
          104 kB
          Barrett Oglesby

        Activity

          People

            eshu Eric Shu
            boglesby Barrett Oglesby
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: