Trying to understand the capacity calculator

2019-04-11 Thread John Smith
Hi, using the calculator spread sheet downloaded here: https://apacheignite.readme.io/docs/capacity-planning I have 10 000 000 objects 100 bytes average 0 backups According to the calculator I need 2.7 GB and about 4.3GB of disk. This includes the 30% indexes and the 100% in RAM calculations and

Replace or Put after PutAsync causes Ignite to hang

2019-04-11 Thread James PRINCE
Hi, I'm working on a .Net Core (2+) application that uses Ignite. I've noticed some odd behaviour and have narrowed it down to a Put or a Replace call hanging after a PutAsync. I started looking at the issue when one of our nodes was randomly logging a possible starvation in striped pool warni

Re: Memory leak.Ignite runs slower and slower after a period of time.

2019-04-11 Thread Justin Ji
Emmm, Does it mean the cursor still not closed in Ignite-2.6.0? -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: Catch Exceptions in LifeCycle Hooks

2019-04-11 Thread Ilya Kasnacheev
Hello! I guess you can have a custom FailureHandler. https://apacheignite.readme.io/docs/critical-failures-handling#section-failure-handling Regards, -- Ilya Kasnacheev чт, 11 апр. 2019 г. в 13:52, kellan : > Is it possible to see what, if any exception, is killing an Ignite Node in > the AFT

Re: Memory leak.Ignite runs slower and slower after a period of time.

2019-04-11 Thread Вячеслав Коптилин
Hi, > BTW, I can not find the class you provided(Ignite-2.6.0), do you spell it correctly? Oops :) That class was added recently. Please take a look at https://issues.apache.org/jira/browse/IGNITE-10827 The fix is already available on the master branch Thanks, S. чт, 11 апр. 2019 г. в 14:10, Jus

Re: Memory leak.Ignite runs slower and slower after a period of time.

2019-04-11 Thread Justin Ji
Slava - Thank you again for your reply, I will close the cursor explicitly. BTW, I can not find the class you provided(Ignite-2.6.0), do you spell it correctly? -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Catch Exceptions in LifeCycle Hooks

2019-04-11 Thread kellan
Is it possible to see what, if any exception, is killing an Ignite Node in the AFTER_NODE_STOP hook? I have an Ignite Cluster in Kubernetes and it's difficult to recover from storage/wal related issues when my nodes restart automatically. I'd like to do something like clear my index.bin file if the

Re: Memory leak.Ignite runs slower and slower after a period of time.

2019-04-11 Thread Вячеслав Коптилин
Hello, > I would like to know will resource be closed after I iterate over the Cursor? Well, the answer is yes, the cursor will be closed (the underlying iterator is wrapped by org.apache.ignite.internal.processors.cache.AutoClosableCursorIterator). Please take into account that this behavior is i

Re: config guide

2019-04-11 Thread Ilya Kasnacheev
Hello! Most of those topics are solidly covered in our docs: https://apacheignite.readme.io/docs More precisely, https://apacheignite.readme.io/docs/cache-configuration https://apacheignite.readme.io/docs/3rd-party-store#section-custom-cachestore Please feel free to ask if any questions remain.

Re: Memory leak.Ignite runs slower and slower after a period of time.

2019-04-11 Thread Justin Ji
One more question. According to the org.apache.ignite.cache.query.QueryCursor.getAll API, I know that the resources will be closed automatically since all results are fetched. I would like to know will resources be closed after I iterate over the Cursor? The reason why I ask this question is th

Re: Memory leak.Ignite runs slower and slower after a period of time.

2019-04-11 Thread Justin Ji
One more question. According to the org.apache.ignite.cache.query.QueryCursor.getAll API, I know that the resources will be closed automatically since all results are fetched. I would like to know will resources be closed after I iterate over the Cursor? The reason why I ask this question is th