You should run ExpiryPolicyTest. The output should contain strings like contains? new AffinityKey("1", "1"): and contains?2 new AffinityKey("1", "1" ): and empty cursor? = If you look at them you will see, that cache contains affinity key new AffinityKey("1", "1") whereas cursor is empty(on second iteration). From this output you can conclude SQL query returns icorrect data(empty value)
чт, 13 апр. 2017 г. в 3:42, Denis Magda <dma...@apache.org>: > Bluntly speaking I have no idea where to look and what to expect. This is > output of the test execution of my machine: > > SQL res: [[1], [d]] > 2 > Op consume: 303 > Value: org.ignite.test.EDU@22db8f4 > SQL res: [] > 0 > Op consume: 9 > Value: org.ignite.test.EDU@29caf222 > SQL res: [] > 0 > Op consume: 15 > Value: org.ignite.test.EDU@7cd1ac19 > SQL res: [] > 0 > Op consume: 5 > > Please be more specific, there are too many files in the code. > > — > Denis > > > On Apr 12, 2017, at 4:50 AM, ALEKSEY KUZNETSOV <alkuznetsov...@gmail.com> > wrote: > > > > So what do u think about the issue ? > > > > ср, 12 апр. 2017 г. в 10:42, ALEKSEY KUZNETSOV <alkuznetsov...@gmail.com > >: > > > >> I have already attached simlified version. Shall i simplify it more ? > >> > >> вт, 11 апр. 2017 г. в 19:28, Denis Magda <dma...@apache.org>: > >> > >> Can you attach the simplified version? Just want to avoid any side > effects. > >> > >> — > >> Denis > >> > >>> On Apr 11, 2017, at 9:14 AM, ALEKSEY KUZNETSOV < > alkuznetsov...@gmail.com> > >> wrote: > >>> > >>> I took it from https://issues.apache.org/jira/browse/IGNITE-4401 < > >> https://issues.apache.org/jira/browse/IGNITE-4401> and simplified . See > >> in attached > >>> > >>> > >>> вт, 11 апр. 2017 г. в 19:03, Denis Magda <dma...@apache.org <mailto: > >> dma...@apache.org>>: > >>> Hello, > >>> > >>> Do you have sample code? > >>> > >>> — > >>> Denis > >>>> On Apr 11, 2017, at 2:45 AM, ALEKSEY KUZNETSOV < > >> alkuznetsov...@gmail.com <mailto:alkuznetsov...@gmail.com>> wrote: > >>>> > >>>> Hi, igniters! > >>>> While doing https://issues.apache.org/jira/browse/IGNITE-4401 < > >> https://issues.apache.org/jira/browse/IGNITE-4401> ticket i came > >>>> across the fact that cache querying returns null , while cache still > >> has > >>>> got entry. > >>>> Cache query : SELECT nameProp FROM EDUProp WHERE EDUId = 1 > >>>> Cache get operation : ignite().cache("eduPropCache").get(new > >> AffinityKey("1", > >>>> "1")) non-null > >>>> I cannot even imagine what could be wrong with it. > >>>> > >>>> > >>>> > >>>> -- > >>>> > >>>> *Best Regards,* > >>>> > >>>> *Kuznetsov Aleksey* > >>> > >>> -- > >>> Best Regards, > >>> > >>> Kuznetsov Aleksey > >>> > >> > >> -- > >> > >> *Best Regards,* > >> > >> *Kuznetsov Aleksey* > >> > > -- > > > > *Best Regards,* > > > > *Kuznetsov Aleksey* > > -- *Best Regards,* *Kuznetsov Aleksey*