Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-14161

Continuous Query ignores first written entry if Transformer returns user type

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 2.10
    • None
    • cache
    • None
    • Docs Required, Release Notes Required

    Description

      Yup. Please see the discussion and the reproducer class.

      First put will come as CREATED then UPDATED

      CacheContinuousQueryEvent [evtType=CREATED, key=CacheAccountKey{affinityAccountKey=AffinityAccountKey{accountId=8}}, newVal=Account{accountKey=DomainAccountKey{accountId=8}, name='Person#8'}, oldVal=null, partCntr=1]
      CacheContinuousQueryEvent [evtType=UPDATED, key=CacheAccountKey{affinityAccountKey=AffinityAccountKey{accountId=8}}, newVal=Account{accountKey=DomainAccountKey{accountId=8}, name='Person#8'}, oldVal=Account{accountKey=DomainAccountKey{accountId=8}, name='Person#8'}, partCntr=2]
      

      and the event will be lost. Subsequent have just 1 event and are OK:

      Transform CacheContinuousQueryEvent [evtType=CREATED, key=CacheAccountKey{affinityAccountKey=AffinityAccountKey{accountId=16}}, newVal=Account{accountKey=DomainAccountKey{accountId=16}, name='Person#16'}, oldVal=null, partCntr=1]
      Transform CacheContinuousQueryEvent [evtType=CREATED, key=CacheAccountKey{affinityAccountKey=AffinityAccountKey{accountId=18}}, newVal=Account{accountKey=DomainAccountKey{accountId=18}, name='Person#18'}, oldVal=null, partCntr=1]
      

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              ilyak Ilya Kasnacheev
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: