Re: Cache Expiry policy not working..

2020-08-27 Thread Evgenii Zhuravlev
Hi, Please share the full maven project with a reproducer then. I wan't able to reproduce the same behaviour with a code you shared before. Evgenii чт, 27 авг. 2020 г. в 01:40, kay : > Hi I didn't notice a Cache Name > > cache name is NC_INITPGECONTRACT_CACHE > > Thank you. > > > > -- > Sent

Re: Cache Expiry policy not working..

2020-08-27 Thread kay
Hi I didn't notice a Cache Name cache name is NC_INITPGECONTRACT_CACHE Thank you. -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: Cache Expiry policy not working..

2020-08-26 Thread kay
Hi, I can get data at remain cache data. so that issue you are share is not my problem. It not happend every time. sometimes, data is not expired. Here is my node log when after start, data not expired. Cache1-2-2.zip

Re: Cache Expiry policy not working..

2020-08-26 Thread Evgenii Zhuravlev
Hi, It looks like a little bit different problem then. As far as I see, the only issue here is related to the cache size, no to the get operations. It is a known issue: https://issues.apache.org/jira/browse/IGNITE-9474 Best Regards, Evgenii вт, 25 авг. 2020 г. в 21:22, kay : > Hello, There is

Re: Cache Expiry policy not working..

2020-08-25 Thread kay
Hello, There is a get method in my code. but that method is not for expiry check that method to check if data is saved well. I figured out in GirdGain webconsole cache size after 4hours data put(expiry policy is 4 minutes). -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: Cache Expiry policy not working..

2020-08-25 Thread Evgenii Zhuravlev
Well, in the code you've shared you're not waiting between puts and checks after that. I used this expiry policy for cache: FactoryBuilder.factoryOf(new CreatedExpiryPolicy(new Duration(SECONDS, 1 and added Thread.sleep(2000) before puts and gets in your code and ExpiryPolicy world for me

Re: Cache Expiry policy not working..

2020-08-25 Thread kay
Hello, here is my code for test. public class CachePutLoopTest { /** * @param args */ public static void main(String[] args) { /* cache의 ip, port 파라미터를 받아서 특정노드에 데이터를 저장 */ System.out.println("┌ Cache Rebalance Put/Get Start

Re: Cache Expiry policy not working..

2020-08-21 Thread ezhuravlev
Can you please share the entire source code? We also need to see how you're checking that data is still there. Evgenii -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: Cache Expiry policy not working..

2020-08-19 Thread kay
I use java thin client and here is my java source code. ClientConfiguration cfg = new ClientConfiguration.setAddress('igniteIp:clientPort'); IgniteClient igniteClient = Ignition.startClient(cfg); ClientCache testCache = igniteClient.cache("TEST_CACHE"); for(int i =0; i< 50; i++){

Re: Cache Expiry policy not working..

2020-08-18 Thread Ilya Kasnacheev
Hello! Can you please share some reproducer code. How do you populate your caches? Regards, -- Ilya Kasnacheev пт, 14 авг. 2020 г. в 12:37, kay : > Hello, I'm using Apache Ignite 2.8.0. > > I have 7 nodes and put and get cache data with starting 8th node. > > The cache expiry policy is

Cache Expiry policy not working..

2020-08-14 Thread kay
Hello, I'm using Apache Ignite 2.8.0. I have 7 nodes and put and get cache data with starting 8th node. The cache expiry policy is CreatedExpiryPolicy 4 minutes. However, some cache data stored on the eighth node remains, not expired and there is no error log. After this situation, I test