Re: Regarding IGNITE_HOME/work/db folder - Snapshot and recovery

2019-06-03 Thread Zaheer
Thank you Andrei -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: Fwd: Regarding IGNITE_HOME/work/db folder - Snapshot and recovery

2019-06-03 Thread Zaheer
Thank you Ilya -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: AdaptiveLoadBalancingSpi not removing finished tasks from taskTops map

2019-06-03 Thread chris_d
Hi Andrei, I've attached a zip of the top consumers and the class we're using to configure the ignite clients within our app server. I can't really provide all the code involved as the load test was testing quite a large chunk of our system. If necessary I can try and create a cut-down version o

Fwd: Regarding IGNITE_HOME/work/db folder - Snapshot and recovery

2019-06-03 Thread Ilya Kasnacheev
Hello! Actually I think that checkpoint is performed when cluster is deactivated, so db/ should be in consistent state after deactivation. This means nodes should startup OK after removal of all WAL, WAL Archive and WAL marker files. Be sure to check that in development before going live with thi

Re: Python client: create cache with expiration policy

2019-06-03 Thread aealexsandrov
Yes, it's my fault. I double check the list of existed options and looks like there is no expire policy option there. I see that exists PROP_EAGER_TTL property: https://apacheignite.readme.io/docs/expiry-policies#section-eager-ttl But there are no options for expiration policies. Let me some t

Re: AdaptiveLoadBalancingSpi not removing finished tasks from taskTops map

2019-06-03 Thread aealexsandrov
Hi, It looks like an issue that possible can be a reason for OOM exception. Is it possible to share the top consumers class list from the heap dump (it can be done via memory analyzer e.g Eclipse MAT)? Also, is it possible to provide the code and configuration that was used in your load testing?

Re: Cache expiry policy is slow

2019-06-03 Thread aealexsandrov
Hi, Could you please share your reproducer of how you check that the expiration of the entries? BR, Andrei -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: Regarding IGNITE_HOME/work/db folder - Snapshot and recovery

2019-06-03 Thread aealexsandrov
Hi, The error means that some of your data could be in inconsistency state because of, for example, stopping of the node during the checkpoint process. However, WAL and WAL archive can be required for cluster startup in some cases because they contain the recovery information for cache data. You

Re: Python client: create cache with expiration policy

2019-06-03 Thread kulinskyvs
Hi, Are we talking about the same? I mean, my goal is to create a cache (if not yet created) with some predefined expiration policy in order to be able to set the expiration timeout for key/value pair put into Ignite. Looks like you are referring to https://apacheignite.readme.io/docs/partition-

Re: Query on bean injection

2019-06-03 Thread aealexsandrov
Hi, Looks like the related issue has already discussed here: https://stackoverflow.com/questions/45269537/how-to-inject-spring-resources-into-apache-ignite-classes The main idea is using the: https://ignite.apache.org/releases/latest/javadoc/org/apache/ignite/IgniteSpringBean.html BR, Andrei

Re: Python client: create cache with expiration policy

2019-06-03 Thread aealexsandrov
Hi, Yes, it should be possible. Please read the documentation from binaries: https://github.com/apache/ignite/blob/master/modules/platforms/python/docs/datatypes/cache_props.rst PROP_PARTITION_LOSS_POLICY: Partition loss policy: READ_ONLY_SAFE=0, READ_ONLY_ALL=1, READ_WRITE_SAFE=2, READ_WRITE_A

Python client: create cache with expiration policy

2019-06-03 Thread kulinskyvs
Hello all, I'm wondering whether it's possible to create a cache with expiration policy defined from Python client? Documentation says nothing about this. Thank you in advance. -- Sent from: http://apache-ignite-users.70518.x6.nabble.co

Query on bean injection

2019-06-03 Thread Komal
Dear Sir/Mam, I have a query about bean injection in cache store implementation. I posted the query on Apache ignite users but didn't get a reply. My question is as follows : I am overriding write method of cache store and using FactoryBuilder.factoryOf method in the cache configuration. But I ne