Re: Inserting data into Ignite thread is hung

2018-10-22 Thread praveeng
Hi, I don't think there is a network issue, since at that moment other clients are able to access the data from the Ignite cluster. But some times the inserting thread is hung for 15 mins, after that it has proceeded further. If the thread is hung which is inserting, we are canceling the thread

Re: Conflict resolution during rebalancing

2018-10-22 Thread Ilya Kasnacheev
Hello! At this point you will have two clusters and they will not join back. It is expected that your server nodes are "near" network-wise and if split still occurs, it's up to you to shut down incorrect (smaller) cluster. Only a single node can join the cluster on cluster's terms. This means

RE: Cannot query cache by affinity key when custom cache template is used

2018-10-22 Thread Stanislav Lukyanov
Also crossposting from SO :) https://stackoverflow.com/questions/52879064/cannot-query-cache-by-affinity-key-when-custom-cache-template-is-used/52935802#52935802 Apparently, it's a bug in Ignite. Filed https://issues.apache.org/jira/browse/IGNITE-9964. Thanks for reporting! The issue only

Re: Conflict resolution during rebalancing

2018-10-22 Thread Ariel Tubaltsev
I guess my question is rather about networking partition. Let's say you have 2 servers S1, S2 and 2 clients C1, C2 Let's say network is partitioned [C1,S1] , [C2,S2]. We allow topology of a single node, so both servers stay functional. Let's say C1 writes and C2 writes . What will happen when the

Re: Keycloak integration with Ignite

2018-10-22 Thread Evgenii Zhuravlev
Hi, As far as I know, Ignite doesn't support all operations that needed for initial schema creation for Keycloak as now, because there is a lot of operations with table changing. However, you can try to rewrite these SQL scripts or create this schema in other DBs and then dump schema from 3rd

Re: Query execution too long even after providing index

2018-10-22 Thread Evgenii Zhuravlev
Well, looks like you trying to find the segments that intersects defined segment, but you're complicating it. You don't need 3 conditions here - it will be enough to have only one - ipStart <= MAX and ipEnd >= MIN. I've checked it for your case and got absolutely the same results as you have with

Re: Inserting data into Ignite thread is hung

2018-10-22 Thread Ilya Kasnacheev
Hello! This might be due genuine network problems between two nodes, or maybe it is something like https://issues.apache.org/jira/browse/IGNITE-8153 - a very rare SSL bug which will only manifest under specific conditions. Regards, -- Ilya Kasnacheev пн, 22 окт. 2018 г. в 13:53, praveeng : >

Re: Inserting data into Ignite thread is hung

2018-10-22 Thread praveeng
Hi , I have forgot to specify the below points. 1. This issue is happening every time at the same place of code for the same cache. 2. The cache to which we are inserting is not at all used by any other service [ cache instance is created in other services but we will not be making any call to

Inserting data into Ignite thread is hung

2018-10-22 Thread praveeng
Hi , Version: 1.8 Java: 1.7.0_45-b18 [ we can't upgrade the java version to 1.8 due to some internal restriction.] We are facing that the ignite thread is hung when we are trying to insert the data. This is not happening that much frequently. We don't see any exceptions in ignite except below

Keycloak integration with Ignite

2018-10-22 Thread Venkata Bhagavatula
Hi, Does apache ignite support for Keycloak integration? where can i find steps for the same? Thanks n Regards chalapathi.

Re: Conflict resolution during rebalancing

2018-10-22 Thread Ilya Kasnacheev
Hello! As far as my understanding goes, there should be no conflicts after rebalance is finished, nor during normal cluster operation. Regards, -- Ilya Kasnacheev пт, 19 окт. 2018 г. в 20:52, Ariel Tubaltsev : > I'm looking for pointers on how conflicts in key/values are resolved during >

Re: close method must be called on IgniteCache?

2018-10-22 Thread Ilya Kasnacheev
Hello! My guess is that it will occupy some memory structures on client, but it should not decrease performance. You will probably lose more performance by trying to stop/start the cache on client on demand. Regards, -- Ilya Kasnacheev сб, 20 окт. 2018 г. в 4:55, kcheng.mvp : > thank your

Re: npe: Failed to reinitialize local partition

2018-10-22 Thread Ilya Kasnacheev
Hello! I'm not very familiar with the area of Persistence FS layout, but I imagine this might be caused by the bug we are discussing. Regards, -- Ilya Kasnacheev пт, 19 окт. 2018 г. в 18:00, wangsan : > Thanks! > The ticket description is especially like my scene. I will apply the patch! > >

Re: Cluster freeze with SSL enabled and JDK 11

2018-10-22 Thread Ilya Kasnacheev
Hello! I would suggest regular (or DEBUG) Ignite logs + SSL debug logs. https://docs.oracle.com/javase/7/docs/technotes/guides/security/jsse/ReadDebug.html Regards, -- Ilya Kasnacheev пт, 19 окт. 2018 г. в 20:58, Loredana Radulescu Ivanoff : > Definitely - do you want debug logs, and if

Re: IO implications of ScanQuery

2018-10-22 Thread Ilya Kasnacheev
Hello! I would assume the answer is no, but you can also store some named fields with regular binary writer and then store the rest with raw binary writer. This way you should be able to index/query the former. Can you try both approaches, see what works for you? Regards. -- Ilya Kasnacheev