Re: Doubt regarding CACHE Replication.

2020-01-30 Thread Mikael
Hi! Well, if the new server is not part of the baseline topology there would not be any rebalancing, I would think you have to add the new server to the baseline first, at least that is how I think it works. Mikael Den 2020-01-30 kl. 08:20, skrev adipro: I am using Ignite with persistence m

How to do wildcard search by key in ignite?

2020-01-30 Thread Tunas
I have key composed of "A"+"B"+"C"+Id. I want to do search by "ABC*" or"AB*" or "A*". Require very efficient query as i am fetching huge number of rows from cache based on above query. Also my values are serialized customize big user objects? -- Sent from: http://apache-ignite-users.70518.x6.n

Re: How to do wildcard search by key in ignite?

2020-01-30 Thread Stephen Darlington
If you create an index on (A,B,C), SQL queries for all three variants you note should work and use the index. Having said that, “returning a huge number of rows” doesn’t seem like a good usage pattern with Ignite. You might be better distributing your query around the cluster rather than retur

Re: Ignite swap space

2020-01-30 Thread Evgenii Zhuravlev
Hi, First of all, I don't think running 2 server nodes on the same physical machine is a good idea. They will compete for resources and they will need to support 2 internal processes(like discovery and communication), which will have an overhead. It's better to have only one here, or have 2 smalle

Re: Native Persistence & JDBC

2020-01-30 Thread Denis Magda
Forwarding this thread to the dev list. Ignite SQL experts, could you check this thread and create a proper ticket for this minor usability improvement? Probably, the ticket is not even needed. Basically, our driver reports this error - *SQLException: Client is invalid. Probably cache name is wro

Re: Questions regarding Data Availability/Replication. @Ignite Team, please answer as it's important for us.

2020-01-30 Thread Evgenii Zhuravlev
Hi, The easiest solution that can be used here is just to have 2 server nodes in one cluster, make sure that all primary partitions will be on the SN1 only(it can be done using affinity function). Caches should be configured as Replicated and SN2 will have backups for everything. However, if you h

Issues with DataRegionMetrics and DataStorageMetrics

2020-01-30 Thread Mitchell Rathbun (BLOOMBERG/ 731 LEX)
I am hoping to periodically print some Ignite metrics to Grafana. I tried printing various DataRegionMetrics and DataStorageMetrics method results and they were not what I expected. For the default DataRegionMetrics (the only one we are using), getName, getOffHeapUsedSize, and getPhysicalMemoryS

Exception when joining a data node

2020-01-30 Thread krkumar24061...@gmail.com
Hi Guys - I am getting this error these days, What does this mean and why am I getting into this error when I am doing a Ignition.stop(false) when I shutdown the server. Caused by: class org.apache.ignite.IgniteCheckedException: Failed to start SPI: TcpDiscoverySpi [addrRslvr=null, sockTimeout=500

Latest behaviour for write-behind cache on node crash

2020-01-30 Thread crypto_ricklee
Dear all, I'm trying to get Ignite as a read-through/write-behind cache on top of postgres. If I have 2 nodes setup (replication) and the primary node down before writing to postgres, will the backup node take over the DB write/update for queued data OR the data will lose forever? Thanks & Regard

Re: java.lang.NullPointerException while preloadEntry

2020-01-30 Thread userx
Hi Ilya, Did you get a chance to see the logs ? -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: Ignite swap space

2020-01-30 Thread ashishb888
Thank you Evgenii! I can understand that enabling swap may decrease the performance. Keeping in that mind I wanted to see what actually happens after enabling swap. For that I need to know how to enable swap on a specific node without affecting other nodes in the cluster. BR, Ashish -- Sent fr

exposing Ignite cluster health status in microservices

2020-01-30 Thread Kamlesh Joshi
Hi Team, Is there any sophisticated way to check if Ignite cluster is Up and Running (from spring-boot) ? Based on which, we need to keep restarting all the clients (connecting from kubernetes i.e. pod) unless and until Ignite cluster is responding properly. Any pointers on this is appreciated

Re: Issues with DataRegionMetrics and DataStorageMetrics

2020-01-30 Thread Alex Plehanov
Hello Mitchell, It seems that you didn't enable metrics on data storage and data regions. You can enable it by DataStorageConfiguration.setMetricsEnabled and DataRegionConfiguration.setMetricsEnabled methods. Also, you can enable it in runtime by JMX пт, 31 янв. 2020 г. в 04:25, Mitchell Rathbun

Re: How to do wildcard search by key in ignite?

2020-01-30 Thread Tunas
Sorry, I have not provided full information or not able to understand your answer as i am newbie. I am storing my keys and values as string. For e.g. Key "ABC"+"id" value : serialized object in string form. My objects/entities has no sql attributed like "QuerySqlField" and its not possible (not

Re: Web session httpSession issue.

2020-01-30 Thread Rout, Biswajeet
Hi, Any one from Ignite team can clarify my doubt please? Regards, Biswajeet *Rout* Dtix-DELPHI O 181 361 7630 M 970 334 9977 On Thu, Jan 30, 202

Ignite AtomicLong

2020-01-30 Thread ashishb888
How does AtomicLong work? Does it throws TransactionRollbackException? BR, Ashish -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/