Re: put data and then get it , but it returns null in sometimes

2016-06-03 Thread Denis Magda
Don’t think that it will be easy track back all the fixes that have been done since that time. Actually both versions are binary compatible, so everything should work fine for you after you switch to 1.6.0. Also you can write a test that proves that the issue exists in 1.4.0 and fixed in 1.6.0

?????? put data and then get it , but it returns null in sometimes

2016-06-02 Thread ????????
thank you, and is there any similar problem before ?? I want to know how it is produced ? Yes , we can upgrade it, but because we made a lot of development based on version 1.4.0, so it will take a lot of time to upgrade to 1.6.0 -- -- ??:

Re: put data and then get it , but it returns null in sometimes

2016-06-02 Thread Alexey Goncharuk
Can you try upgrading to 1.6 and check if the problem still reproduced? There has been fixed a lot of issues in the last two versions, so it is very likely this one will go away after an upgrade. 2016-06-02 22:06 GMT-07:00 往事如烟 : > Thank you , and we are using ignite 1.4.0 >

?????? put data and then get it , but it returns null in sometimes

2016-06-02 Thread ????????
Thank you , and we are using ignite 1.4.0 -- -- ??: "Alexey Goncharuk";; : 2016??6??3??(??) 1:02 ??: "user"; : Re: put data and then get it , but it returns null in

Re: put data and then get it , but it returns null in sometimes

2016-06-02 Thread Alexey Goncharuk
Hi, Which version of Ignite are you using? 2016-06-02 21:55 GMT-07:00 往事如烟 : > thanks for your answer, I don't use configure file, so almost we used the > default value, only set some items as follows: > > *CacheConfiguration cacheCfg = new >

?????? put data and then get it , but it returns null in sometimes

2016-06-02 Thread ????????
thanks for your answer, I don't use configure file, so almost we used the default value, only set some items as follows: CacheConfiguration cacheCfg = new CacheConfiguration<>("testName"); cacheCfg.setWriteSynchronizationMode(CacheWriteSynchronizationMode.FULL_SYNC);

Re: put data and then get it , but it returns null in sometimes

2016-06-02 Thread Denis Magda
Hi, Do you set CacheConfiguration.readFromBackup to “true”? Please share full configuration of your cache. — Denis > On Jun 3, 2016, at 6:06 AM, 往事如烟 wrote: > > Hi all, > I have encountered a very strange problem, described as follows: > first , put(1, 2) to

put data and then get it , but it returns null in sometimes

2016-06-02 Thread ????????
Hi all, I have encountered a very strange problem?? described as follows: first , put(1, 2) to the cache in sync mode and the cache is atomic mode; then, I immediately invoke get(1) in sync mode to get key=1, expect it returns 2; however, it returns null; this