Re: Get tables from metadata errors.

2019-05-27 Thread Ilya Kasnacheev
Hello! Does it work for you if you do it outside of the pool? Maybe you can always acquire a new connection for meta-data queries as a work-around? Regards, -- Ilya Kasnacheev пн, 27 мая 2019 г. в 07:18, yangjiajun <1371549...@qq.com>: > Hello! Thanks for u reply. > > I use HikariCP

Unable to free disk space after keys are removed in ignite 2.7.0

2019-05-27 Thread Baravaglio Alberto
Hi, I have a simple local installation of ignite 2.7.0: one server and one spring boot client application, all running on my laptop. I've configured Persistence on the server node

Re: sessionFactory.getCache().evictCollectionData

2019-05-27 Thread Ilya Kasnacheev
Hello! Maybe Hibernate has its own cache (L1?) and it does not get evicted synchronously. Unfortunately since you're using an unreleased module you will have to debug it on your side, I guess. Maybe team up with module's author. Regards, -- Ilya Kasnacheev пн, 27 мая 2019 г. в 16:16, Tomasz

Re: sessionFactory.getCache().evictCollectionData

2019-05-27 Thread Tomasz Prus
We use Hibernate 5.3 i our application so I found on this forum, that I can build Ignite from source (master). Lastly I tried also with version 2.7.2 and Hibernate 4 but this wrong behavior still occurs. Everything works fine for one node but when we add the same cache configuration for second

Re: Which cache gets expiry policy when creating near cache?

2019-05-27 Thread John Smith
Thanks On Fri, 24 May 2019 at 05:56, Ilya Kasnacheev wrote: > Hello! > > Actually I have checked the source, and I don't see much difference. > You're getting a reference to 'publicJCache' either way. This means that > `withExpiryPolicy` will affect the "far" cache in both cases. > > Regards, >

Re: sessionFactory.getCache().evictCollectionData

2019-05-27 Thread Ilya Kasnacheev
Hello! Don't see why it won't work for you from the first try. BTW, what's your version? I ask because hibernate_5.3 is unreleased. Regards, -- Ilya Kasnacheev пн, 27 мая 2019 г. в 10:30, Tomasz Prus : > Any ideas? > > czw., 23 maj 2019 o 15:22 Tomasz Prus napisał(a): > >> Interestingly,

Re: invokeAsync and OPTIMISTIC SERIALIZABILE transaction

2019-05-27 Thread Ilya Kasnacheev
Hello! Why not? They're the same as when you just call invoke(). Regards, -- Ilya Kasnacheev ср, 22 мая 2019 г. в 20:17, Kamil Mišúth : > Is it possible to call invokeAsync() with OPTIMISTIC SERIALIZABLE > isolation? > > What are the transactional guarantees when using invokeAsync()? > >

Re: [External]Re: Read/query TPS is decreasing after enabling mix load i.e. write services

2019-05-27 Thread Ilya Kasnacheev
Hello! The relevant stack trace as follows: "sys-stripe-43-#44%EDIFCustomer%" #70 prio=5 os_prio=0 tid=0x7fc68e274800 nid=0x7ebb runnable [0x7fc4898d6000] java.lang.Thread.State: RUNNABLE at java.nio.MappedByteBuffer.force0(Native Method) at

Re: Unable to free disk space after keys are removed in ignite 2.7.0

2019-05-27 Thread Ilya Kasnacheev
Hello! > How the system is supposed to free disk space? It's not supposed to! Ignite does not make effort to return disk space (or off-heap memory) to system since it is not usually needed. Regards, -- Ilya Kasnacheev пн, 27 мая 2019 г. в 16:38, Baravaglio Alberto <

Re: Too many open files

2019-05-27 Thread Ilya Kasnacheev
Hello! Can you locate your Ignite process ID via jps, and then do an ls -al /proc/$ID/fd, share it with us? Regards, -- Ilya Kasnacheev пн, 27 мая 2019 г. в 06:52, yangjiajun <1371549...@qq.com>: > Hello. > > Does ignite release open file descriptors after cache destroy?My ignite > sometimes

Re: apache ignite in client mode - memory leak?

2019-05-27 Thread Ilya Kasnacheev
Hello! Please also collect heap histogram of classes. It is most likely that leak is outside of Ignite. Regards, -- Ilya Kasnacheev вс, 26 мая 2019 г. в 07:20, mahesh76private : > This doesn't look like a ignite memory optimization. A steady consumption > of > 20MB till it exhausts the

Re: failed to get the security context object

2019-05-27 Thread radha
Hi, Sorry for the late reply. Thanks for the response. I am able to get the context as you mentioned. Also when i try to work with sqlline, while executing the command , 1. authorise function get securitycontext value always null. 2. Using SecurityContextHolder.get() ,I am getting the

Re: sessionFactory.getCache().evictCollectionData

2019-05-27 Thread Tomasz Prus
Any ideas? czw., 23 maj 2019 o 15:22 Tomasz Prus napisał(a): > Interestingly, when i run evictCollectionData twice, it works. > > czw., 23 maj 2019 o 13:39 Tomasz Prus napisał(a): > >> Hello, >> I have configured Ignite cache with Hibernate 2L cache for to instances >> and almost everything

Re: How to know memory used by a cache or a set

2019-05-27 Thread ibelyakov
Hi, Did you turn on cache metrics for your data region? To turn the metrics on, use one of the following approaches: 1. Set DataRegionConfiguration.setMetricsEnabled(true) for every region you want to collect the metrics for. 2. Use the DataRegionMetricsMXBean.enableMetrics() method exposed by a