Ilya Kasnacheev created IGNITE-14161:
----------------------------------------
Summary: Continuous Query ignores first written entry if Transformer returns user type
Key: IGNITE-14161
URL:
https://issues.apache.org/jira/browse/IGNITE-14161 Project: Ignite
Issue Type: Bug
Components: cache
Affects Versions: 2.10
Reporter: Ilya Kasnacheev
Yup. Please see the discussion and the reproducer class.
First put will come as CREATED then UPDATED
{code}
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]
{code}
and the event will be lost. Subsequent have just 1 event and are OK:
{code}
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]
{code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)