Re: Ignite 2.16 - Multiple query fields are associated with the same alias

2024-04-24 Thread Pavel Tupitsyn
error > 1) > > Thanks and Regards, > Charlin > > > On Wed, 24 Apr, 2024, 4:25 pm Pavel Tupitsyn, > wrote: > >> Employee class has two fields with the same name: >> >> [QuerySqlField] >> public string EMPCode { get; set; } >> >> [Quer

Re: Ignite 2.16 - Multiple query fields are associated with the same alias

2024-04-24 Thread Pavel Tupitsyn
Employee class has two fields with the same name: [QuerySqlField] public string EMPCode { get; set; } [QuerySqlField] public string EmpCode { get; set; } Ignite 2.10 ignored this and used only one of those for SQL, which may lead to subtle bugs. So we added this validation. You'll

Re: CVE-2024-22243 - Spring Framework Vulnerability

2024-04-19 Thread Pavel Tupitsyn
Ignite is not affected. The description says "Applications that use UriComponentsBuilder...", and we do not use UriComponentsBuilder at all, not a single match in the source code [1] [1] https://github.com/search?q=repo%3Aapache%2Fignite%20UriComponentsBuilder=code On Thu, Feb 29, 2024 at

Re: DataModelling in Ignite .NET with Inheritance.

2024-04-17 Thread Pavel Tupitsyn
Hi Satyajit, Here you go: using Apache.Ignite.Core; using Apache.Ignite.Core.Cache; using var ignite = Ignition.Start(); var cache = ignite.GetOrCreateCache("myCache"); cache[1] = new Base(1, "base-1"); cache[2] = new Derived(2, "derived-2", 42); foreach (ICacheEntry entry in cache) {

Re: Question regarding text search in ignite

2024-04-15 Thread Pavel Tupitsyn
Hi Satyajit, we (Ignite community members) are subscribed to Stackoverflow too. I don't have anything to add to the existing answer there. On Mon, Apr 15, 2024 at 8:09 AM wrote: > Hi Pavel/Team, > > > > Is the below explanation holds good from your side. Need some > confirmation on

Re: ignitevisorcmd tool - alternate option

2024-04-10 Thread Pavel Tupitsyn
control.sh is the replacement: https://ignite.apache.org/docs/latest/tools/control-script On Wed, Apr 10, 2024 at 3:56 PM Rajiv Shah wrote: > Hi Charlin, > > I am working as a Principal Architect at GridGain. > Let me know if you would like to have a call to discuss your project and > needs, so

Re: Use of distributed computing in C++

2024-04-08 Thread Pavel Tupitsyn
ow does one make sure that the server knows this task ? > > Best regards, > Louis > ------ > *De :* Pavel Tupitsyn > *Envoyé :* lundi 8 avril 2024 11:34 > *À :* user@ignite.apache.org > *Objet :* Re: Use of distributed computing in C++ > > С++ client

Re: Use of distributed computing in C++

2024-04-08 Thread Pavel Tupitsyn
С++ client can execute Compute tasks that are written in Java and deployed to the server nodes: https://ignite.apache.org/releases/latest/cppdoc/classignite_1_1thin_1_1compute_1_1ComputeClient.html On Fri, Apr 5, 2024 at 3:41 PM Louis C wrote: > Hello everyone, > > I was interested in the

Re: Spring Native support

2024-02-29 Thread Pavel Tupitsyn
Have a look at [1], there is a POC linked [2] [1] https://www.mail-archive.com/dev@ignite.apache.org/msg53182.html [2] https://github.com/scottmf/graalvm-ignite On Fri, Mar 1, 2024 at 8:01 AM Kramer wrote: > I believe this is not supported with Ignite 2.x due to Native Buffer > access. It will

Re: Ignite transactions

2024-02-14 Thread Pavel Tupitsyn
1. Not sure I understand 2. Messaging is not transactional 3. No 4. No, transactions are tied to a specific thread On Wed, Feb 14, 2024 at 11:01 AM Нестрогаев Андрей Викторович < a.nestrog...@flexsoft.com> wrote: > Hi All, > > > > Maybe someone has already researched these questions: > > 1. How

Re: Ignite Text Query in .NET

2024-02-11 Thread Pavel Tupitsyn
Hi Satyajit, looks like the linked stackoverflow page explains it all, I don't have anything to add. Pavel On Mon, Feb 12, 2024 at 4:28 AM wrote: > Hi Pavel, > > > > We have observed that when one node went down and we restarted > the node , Ignite Text query didn’t return full set

Re: Ignite Write Behind + .NET + External Cache Store

2024-01-15 Thread Pavel Tupitsyn
1. Write-behind mode invokes cache store in background, so there is no simple way to confirm if a particular write (cache put) has been persisted, no matter how many backups. 2. AFAIK, cache store is only invoked on the primary node for the given key On Tue, Jan 9, 2024 at 5:04 PM wrote: > Hi

Re: Data consistency in Ignite and BackUp Filter in Ignite .net node

2023-12-06 Thread Pavel Tupitsyn
gards > > Satyajit > > > > *From:* Mandal, Satyajit: IT (PUN) > *Sent:* Wednesday, December 6, 2023 11:36 AM > *To:* Pavel Tupitsyn > *Cc:* user@ignite.apache.org > *Subject:* RE: Data consistency in Ignite and BackUp Filter in Ignite > .net node > > > > H

Re: Data consistency in Ignite and BackUp Filter in Ignite .net node

2023-12-05 Thread Pavel Tupitsyn
memory cluster? Cluster has 6 nodes. > > > > > > Regards > > Satyajit > > > > *From:* Pavel Tupitsyn > *Sent:* Tuesday, June 27, 2023 8:13 PM > *To:* Mandal, Satyajit: IT (PUN) > *Cc:* user@ignite.apache.org > *Subject:* Re: Data consistency in Ignite

Re: On the issue of continuous query function monitoring in thinclients

2023-10-15 Thread Pavel Tupitsyn
e running? > > Do I understand your scenario correctly: > > 1. Start 12 server nodes > 2. Register a Continuous Query via thin clients > 3. Start loading the cache using thin clients > 4. Kill one of the server nodes > 5. Restart the disconnected node so that it rejoins t

Re: On the issue of continuous query function monitoring in thin clients

2023-10-12 Thread Pavel Tupitsyn
Hello, We are working on this issue [1] [2] [1] https://issues.apache.org/jira/browse/IGNITE-20424 [2] https://github.com/apache/ignite/pull/10980 On Thu, Oct 12, 2023 at 6:27 PM Mengyu Jing wrote: > Hello, Igniters! > > > > I started an Ignite cluster with 12 nodes, but the cluster did not

Re: Arithmetic overflow exception ( Ignite logs)

2023-10-06 Thread Pavel Tupitsyn
at 10:21 AM Pavel Tupitsyn wrote: > Hi Satyajit, > > It is a bug, I've created a ticket [1] > Looks like a critical issue, so we'll fix it soon. Thanks for the report! > > [1] https://issues.apache.org/jira/browse/IGNITE-20586 > > On Fri, Oct 6, 2023 at 9:24 AM wr

Re: Arithmetic overflow exception ( Ignite logs)

2023-10-06 Thread Pavel Tupitsyn
Hi Satyajit, It is a bug, I've created a ticket [1] Looks like a critical issue, so we'll fix it soon. Thanks for the report! [1] https://issues.apache.org/jira/browse/IGNITE-20586 On Fri, Oct 6, 2023 at 9:24 AM wrote: > Hi Pavel/Team, > > > > One Ignite node went down with below error .

Re: Using REST api seems to "lock" record?

2023-10-01 Thread Pavel Tupitsyn
Use 'valueType' URL parameter [1] to specify the type, e.g.: ignite?cmd=put=MYKEY=123=myCache=integer [1] https://ignite.apache.org/docs/latest/restapi#data-types On Fri, Sep 29, 2023 at 8:58 PM John Smith wrote: > Ok so I figured out the issue. I'm getting a class cast Exception. > > The

Re: External Cache Store + Ignite .NET

2023-09-26 Thread Pavel Tupitsyn
CacheConfiguration.WriteBehindEnabled = true This enables background asynchronous cache store updates [1] [2] [1]

Re: Read Through and WriteThrough and Native Persistence + Ignite .NET

2023-09-07 Thread Pavel Tupitsyn
Hi Satyajit, Have you tried it? I'm not sure how a combination of CacheStore + native persistence works. On Thu, Sep 7, 2023 at 2:42 PM wrote: > Hi Pavel > > > > Can we do a setting where we enable Native Persistence as well > as ( ReadThrough = true and WriteThrough = true)

Re: Graceful shutdown of DotNet Ignite nodes running in Kubernetes pods

2023-09-06 Thread Pavel Tupitsyn
Ignite handles SIGTERM and stops the node. Use IIgnite.Stopped [1] to shut down the app gracefully. Example: run this program and use "kill" on it - "Stopped." is printed and the process exits with code 0. var ignite = Ignition.Start(); ignite.Stopped += (_, _) => {

Re: Query regarding JVM and GC settings with Ignite .NET

2023-08-25 Thread Pavel Tupitsyn
emory-in-apache-ignite > > > > *In your case, you're committing more memory to Ignire than you have. You > commit 12GB off-heap + 15GB heap = 27GB, which is obviously more than your > 16 GB RAM.* > > > > Regards > > Satyajit > > > > > > *From:*

Re: Query regarding Ignite .NET Authentication and Authorization

2023-08-18 Thread Pavel Tupitsyn
Hi Satyajit, Ignite does not provide role-based access control, only authentication. Some vendors have plugins/forks where this is available, though. Pavel On Fri, Aug 18, 2023 at 5:48 AM wrote: > Hi Pavel, > > > > We have a requirement where we are loading static data into Ignite >

Re: Query regarding Generic Entity Framework Cache Store.

2023-08-13 Thread Pavel Tupitsyn
Hi Satyajit, Generic cache store usage is commented out in the sample repo: https://github.com/ptupitsyn/ignite-net-examples/blob/master/EFCacheStore/IgniteEFCacheStore/PostCacheStore.cs#L124 Have you tried replacing "return new PostCacheStore();" with the commented code? On Mon, Aug 14, 2023

Re: Unable to make rest api calls to ignite on local host

2023-07-30 Thread Pavel Tupitsyn
Answered on StackOverflow [1]: "it's required to move the ignite-rest-http module from the {IGNITE_HOME}/libs/optional/ directory to the {IGNITE_HOME}/libs to enable REST API." [1] https://stackoverflow.com/questions/76790017/unable-to-make-rest-api-calls-to-ignite-on-local-host On Fri, Jul 28,

Re: Cache write synchronization mode

2023-07-25 Thread Pavel Tupitsyn
k' after the primary > node failure would you expect the new value to propagate to all nodes? > > > On Tue, Jul 25, 2023 at 5:22 PM Pavel Tupitsyn > wrote: > >> > if a hard failure occurs to one of the backup servers in the replicated >> cache will the server th

Re: Cache write synchronization mode

2023-07-24 Thread Pavel Tupitsyn
> if a hard failure occurs to one of the backup servers in the replicated cache will the server that failed have an inconsistent (old) copy of that element in the replicated cache when it restarts If only a backup server fails and restarts, it will get new data from the primary node, no issue

Re: Ignite data region off-heap allocation

2023-07-23 Thread Pavel Tupitsyn
oc=false, >> ^-- TxLog region [type=internal, persistence=true, lazyAlloc=false, >> >> The documentation is not clear on the effect of this flag other than to >> say it is for 'Lazy memory allocation'. If this flag is true will Ignite >> proactively allocate and u

Re: Cache write synchronization mode

2023-07-23 Thread Pavel Tupitsyn
Please check this reply on StackOverflow - does it help? https://stackoverflow.com/questions/45497095/explicit-setting-of-write-synchronization-mode-full-sync-needed-for-replicated-c On Wed, Jul 19, 2023 at 1:38 AM Raymond Wilson wrote: > I have a query regarding the

Re: Ignite data region off-heap allocation

2023-07-11 Thread Pavel Tupitsyn
terms of memory commutes to Ignite data regions. >>> >>> In the current setup, as time goes on and Ignite progressively fills the >>> allocated cache ram then system behaviour changes and can result in out of >>> memory issues. I think I would prefer consistent syst

Re: Ignite data region off-heap allocation

2023-07-10 Thread Pavel Tupitsyn
Are you sure this is necessary? GC.AddMemoryPressure documentation [1] states that this will "improve performance only for types that exclusively depend on finalizers". [1] https://learn.microsoft.com/en-us/dotnet/api/system.gc.addmemorypressure?view=net-7.0 On Tue, Jul 11, 2023 at 1:02 AM

Re: Ignite data region off-heap allocation

2023-07-10 Thread Pavel Tupitsyn
ay this should be included in the ‘used’ memory for a process, > but perhaps that is not correct. > > Raymond. > > On Mon, 10 Jul 2023 at 5:07 PM, Pavel Tupitsyn > wrote: > >> Hi Raymond, >> >> "allocated=94407MB" reported by Ignite is "committed&

Re: Ignite data region off-heap allocation

2023-07-09 Thread Pavel Tupitsyn
Hi Raymond, "allocated=94407MB" reported by Ignite is "committed" memory - requested from the OS, but not entirely used/touched. See - https://github.com/apache/ignite/blob/df685afb08e3c2297adb8fc6df435a7310e95e50/modules/core/src/main/java/org/apache/ignite/internal/IgniteKernal.java#L2369 -

Re: Data consistency in Ignite and BackUp Filter in Ignite .net node

2023-06-27 Thread Pavel Tupitsyn
Hi Satyajit, > ensure backup partitions of a particular node is created in another node and not in same node No need to do anything, this is the default behavior: backup partitions always reside on a different node. To put it another way: every partition has a primary node and one

Re: Monitoring Ignite .NET Nodes.

2023-06-08 Thread Pavel Tupitsyn
dded to my .net core windows service > and java libraries are installed as part of Apache.Ignite Nuget > package. > > > > So now how will visor and control script will connect to Ignite > cluster which is embedded to my .NET service? > > > >

Re: Monitoring Ignite .NET Nodes.

2023-06-08 Thread Pavel Tupitsyn
Hi Satyajit, .NET nodes are built on top of Java nodes, so everything applies the same way. Visor should work, as well as system views and JMX. The steps to use control.sh with .NET node: * Download the full distribution package https://dlcdn.apache.org/ignite/2.15.0/apache-ignite-2.15.0-bin.zip

Re: 2 caches joining error

2023-05-31 Thread Pavel Tupitsyn
Hello, can you please share the code that does not work for you? On Thu, Jun 1, 2023 at 7:52 AM Jiang Jacky wrote: > Hello > Can someone share me with some good examples that how to make a join > between 2 caches? > I am using ignite 2.7 and mocking up the example from the video >

Re: Apache Ignite 3.0 Questions

2023-05-26 Thread Pavel Tupitsyn
1) There is no set date for now 2) Maksim is right, 2.x will live on for a long time 3) Yes, it is in the works On Fri, May 26, 2023 at 3:01 PM Maksim Timonin wrote: > Hi David, > > 2) What is the end of life matrix or end of support of 2.0? > > > There is a stable community of great engineers

Re: Ignite thin client continuous query listener cannot listen to all events

2023-05-24 Thread Pavel Tupitsyn
Thank you for the bug report, I will have a look. On Thu, May 25, 2023 at 5:10 AM LonesomeRain wrote: > Hi, Jeremy McMillan > > > > I have created a Jira about this bug. > > > > https://issues.apache.org/jira/browse/IGNITE-19561 > > > > By executing these two test codes in the description, it

Re: Query :.NET Ignite Node deployment and Monitoring

2023-05-02 Thread Pavel Tupitsyn
te-rest-http module > is enabled. If you use the binary distribution, copy the ignite-rest-http > module > from IGNITE_HOME/libs/optional/ to the IGNITE_HOME/libs folder > > > > > > How this feature can be done via .NET code ? > > > > Thanks > > Satyaj

Re: Query :.NET Ignite Node deployment and Monitoring

2023-05-02 Thread Pavel Tupitsyn
Hi Satyajit, NuGet deployment refers to the fact that you install Ignite from NuGet. Single-file deployment is about packaging your entire app (including your code, .NET code, Ignite dlls and jars) as a single file:

Re: Query on External CacheStore implemented using .NET

2023-04-26 Thread Pavel Tupitsyn
External cache store will work in any case - server, thick client, thin client. On Wed, Apr 26, 2023 at 4:05 PM satyajit.mandal.barclays.com via user < user@ignite.apache.org> wrote: > > > Hi Pavel, > > > > We have implemented custom external cache store. We are running > three nodes

Re: SQL objects in Ignite ( .NET) not showing up with JDBC drivers

2023-04-17 Thread Pavel Tupitsyn
; > val.Id = 5; > > val.Age = 39; > > val.Salary = 25000; > > cache.Put(5, val); > > > > > > Now we want to see this table to be shown up automatically in > Intellij using JDBC driver(ignite-core-2.14.0.jar). > > > > > > > >

Re: SQL objects in Ignite ( .NET) not showing up with JDBC drivers

2023-04-17 Thread Pavel Tupitsyn
Hi Satyajit, How do you create tables in .NET? Are you sure QueryEntities are configured correctly? Can you share the code please? Normally tables should show up in JDBC. On Mon, Apr 17, 2023 at 3:27 PM satyajit.mandal.barclays.com via user < user@ignite.apache.org> wrote: > Hi Pavel, > > > >

Re: Ignite configuration using .NET Thick client

2023-04-13 Thread Pavel Tupitsyn
e using .NET frameworks like Dapr etc.. > > > > > > Regards > > Satyajit > > > > > > *From:* Pavel Tupitsyn > *Sent:* Friday, April 7, 2023 10:17 AM > *To:* Mandal, Satyajit: IT (PUN) > *Cc:* user@ignite.apache.org > *Subject:* Re: Ignite

Re: Ignite configuration using .NET Thick client

2023-04-06 Thread Pavel Tupitsyn
quot;, > >"yyy.0.0.:47500..47502", > >"zzz.0.0.:47500..47502" > > > > } > > } > > }, > > > > Regards > > Satyajit

Re: Ignite configuration using .NET Thick client

2023-04-06 Thread Pavel Tupitsyn
using Spring.xml one by one in each node. > > > > Regards > > Satyajit > > > > *From:* Pavel Tupitsyn > *Sent:* Thursday, April 6, 2023 7:57 PM > *To:* user@ignite.apache.org; Mandal, Satyajit: IT (PUN) < > satyajit.man...@barclays.com> > *

Re: Ignite configuration using .NET Thick client

2023-04-06 Thread Pavel Tupitsyn
Hi Satyajit, 1. You don't need to use Spring XML unless you have to set a property that is not exposed in .NET API 2. Do you want to start 4 nodes in one process? Or multiple processes on the same machine? What's your desired setup? Pavel On Thu, Apr 6, 2023 at 4:40 PM

Re: java thin client idle like 1 hour , ignite server close client port

2023-04-04 Thread Pavel Tupitsyn
Yes, heartbeats can help with connection stability. Also check ClientConnectorConfiguration#idleTimeout setting on the server [1] [1] https://ignite.apache.org/releases/latest/javadoc/org/apache/ignite/configuration/ClientConnectorConfiguration.html#getIdleTimeout-- On Tue, Apr 4, 2023 at 11:37 

Re: Query regarding Thick Client using .NET

2023-03-31 Thread Pavel Tupitsyn
> > > > Do you have any working example using webapi controllers? > > > > Regards > > Satyajit > > > > > > *From:* Pavel Tupitsyn > *Sent:* Friday, March 31, 2023 7:47 PM > *To:* user@ignite.apache.org; Mandal, Satyajit: IT (PUN) <

Re: Query regarding Thick Client using .NET

2023-03-31 Thread Pavel Tupitsyn
Hi, I don't think WebApi makes any difference. You can use Ignite in the same way. DI lifetime is probably the only concern. IIgnite instance should be registered as a singleton, or wrapped within a singleton service. Let me know if you have any specific questions. Pavel On Fri, Mar 31, 2023

Re: Maximum concurrency of ComputeTask

2023-03-09 Thread Pavel Tupitsyn
Two things can limit the number of active compute tasks: IgniteConfiguration#publicThreadPoolSize (defaults to max(8, AVAILABLE_PROC_CNT)) ThinClientConfiguration#maxActiveComputeTasksPerConnection (defaults to 0 => compute from thin clients is disabled) Please check those settings on your

Re: Performance benchmarks for Thin Client and Thick Client

2023-02-14 Thread Pavel Tupitsyn
Thick and thin clients have similar performance on basic use cases. For example, here is a DataStreamer benchmark, .NET thin vs thick: https://github.com/apache/ignite/blob/master/modules/platforms/dotnet/Apache.Ignite.BenchmarkDotNet/ThinClient/ThinClientDataStreamerBenchmark.cs But you should

Re: ScanQuery and PeerAssemblyLoading - Issue 1

2023-01-23 Thread Pavel Tupitsyn
Jay, Peer Assembly Loading feature only exists for Compute API. - When you perform a ScanQuery the 1st time, the assembly does not exist on the remote node and you get an error. - After you run a Compute task, your entire assembly (including SalaryFilter class) gets loaded on the remote node,

Re: Question on BinaryObject

2023-01-17 Thread Pavel Tupitsyn
Hello, yes, your understanding is correct. On Tue, Jan 17, 2023 at 6:46 PM Peter wrote: > Hello, > > Do I understand correctly, that each BinaryObject that is returned by > IgniteCache.get() and IgniteCache.getAll() method calls on a local node > contains an internal on-heap byte array, and

Re: C# Ignite thin client - how to connect specific grid

2023-01-12 Thread Pavel Tupitsyn
1/>48500","10.201.30.117: > <http://127.0.0.1:10901/>48500" } > > }; > > // for Grid 2 > > var clientCfgGrid2 = new IgniteClientConfiguration > { > Endpoints = new[] { "10.201.30.116: > <http://127.0.0.1:10901/>55800","10.201.30

Re: C# Ignite thin client - how to connect specific grid

2023-01-12 Thread Pavel Tupitsyn
C# thin client can connect to any port, specify it in the endpoint string like this: var clientCfg = new IgniteClientConfiguration("127.0.0.1:10901"); var client = Ignition.StartClient(clientCfg); or var clientCfg2 = new IgniteClientConfiguration { Endpoints = new[] { "127.0.0.1:10901" }

Re: Ignite Cassandra Integration Configuration for C#

2023-01-09 Thread Pavel Tupitsyn
> & ignite-cassandra-serializers(which is available in optional) folder >> under /home/soft/apache-ignite-2.10.0-bin/libs. >> and classpath has been set as by command export >> CLASSPATH="/home/soft/apache-ignite-2.10.0-bin/libs". >> >> Regards, >> Char

Re: Ignite Cassandra Integration Configuration for C#

2023-01-09 Thread Pavel Tupitsyn
nt at CLASSPATH) > [springUrl=file:/home/soft/apache-ignite-2.10.0-bin/config/ignite-config-cassandra.xml] > > Regards, > Charlin > > > > On Mon, 9 Jan 2023 at 11:58, Pavel Tupitsyn wrote: > >> Ok, it seems this requires quite a bit of configuration, we can't

Re: Ignite Cassandra Integration Configuration for C#

2023-01-08 Thread Pavel Tupitsyn
s, > Charlin > > > On Thu, 5 Jan 2023 at 20:02, Pavel Tupitsyn wrote: > >> > org/apache/ignite/tests/cassandra/connection-settings.xml cannot be >> opened because it does not exist >> >> Try specifying an abso

Re: Text Search from Ignite Cache

2023-01-05 Thread Pavel Tupitsyn
Ignite has full text search capabilities (based on Lucene engine) with TextQuery [1] that should perform better for partial matches. Example: [2] [1] https://ignite.apache.org/releases/latest/javadoc/org/apache/ignite/cache/query/TextQuery.html [2]

Re: Ignite Cassandra Integration Configuration for C#

2023-01-05 Thread Pavel Tupitsyn
[org/apache/ignite/tests/cassandra/connection-settings.xml]; nested > exception is java.io.FileNotFoundException: class path resource > [org/apache/ignite/tests/cassandra/connection-settings.xml] cannot be > opened because it does not exist > > Regards, > Charlin > > > On Tue, 3 Jan 2023 at 21:52, Pav

Re: Ignite Cassandra Integration

2023-01-04 Thread Pavel Tupitsyn
Hi, Cassandra integration works through CassandraCacheStore [1]. To combine it with another storage (e.g. File), you can implement a wrapper around CassandraCacheStore that performs additional reads/writes to another storage.

Re: Ignite Cassandra Integration Configuration for C#

2023-01-03 Thread Pavel Tupitsyn
ntation in c#. > > class="org.apache.ignite.cache.store.cassandra.utils.persistence.KeyValuePersistenceSettings"> > value="classpath:org/apache/ignite/tests/persistence/blob/persistence-settings-1.xml" > /> > > Regards, > Charlin > > On Tue, 3 Jan

Re: Ignite Cassandra Integration Configuration for C#

2023-01-03 Thread Pavel Tupitsyn
Hi Charlin, happy new year! Those examples are mostly XML configs, you can use them as is in C#, something like: var cfg = new IgniteConfiguration { SpringConfigUrl = "ignite-cassandra.xml" }; Ignition.Start(cfg); Let me know if you need more details. Pavel On Tue, Jan 3, 2023 at 1:50 PM

Re: Behavior of java thin client connection

2022-10-25 Thread Pavel Tupitsyn
ectThrottlingRetries parameters. > > Best regards, > > *Máté Bernáth* > > Developer > > > > Intalion Group > > E-mail: mate.bern...@intalion.hu <%20mate.bern...@intalion.hu> > > Mobile: +36 70 428 5671 > > Phone: +36 1 999 6197 > > H-1012 Bud

Re: Behavior of java thin client connection

2022-10-25 Thread Pavel Tupitsyn
Hello, Can you please share your ClientConfiguration? On Tue, Oct 25, 2022 at 2:41 PM Bernáth Máté wrote: > Hello, > > > > The following is our experience using the Apache Ignite. > > > > We use the Apache Ignite for java applications. These applications are > part of ESB applications. > > For

Re: Call an operation on all deployed remote services

2022-10-20 Thread Pavel Tupitsyn
Hi, there is no such method. I suggest using IgniteCompute.broadcast - it is the way to invoke some code on multiple nodes simultaneously. If you absolutely have to do this with services: 1. Call IgniteServices.serviceDescriptors 2. Find the right service in the resulting collection 3. Iterate

Re: [ANNOUNCE] Apache Ignite 2.14.0 Released

2022-10-12 Thread Pavel Tupitsyn
A small post about .NET changes: https://ptupitsyn.github.io/Whats-New-In-Ignite-Net-2.14/ Cheers! On Tue, Oct 11, 2022 at 10:56 AM Taras Ledkov wrote: > The Apache Ignite Community is pleased to announce the release of > Apache Ignite 2.14.0. > > Apache Ignite® is an in-memory computing

Re: Ignite Async API call continutation behaviour

2022-10-02 Thread Pavel Tupitsyn
Hi Raymond, Yes, you can remove those ContinueWith() calls. Default behavior is now safe. On Mon, Oct 3, 2022 at 2:25 AM Raymond Wilson wrote: > Jay, > > Thanks for the confirmation and the heads up regarding transactions. > > Raymond. > > On Mon, Oct 3, 2022 at 12:18 AM wrote: > >> Hi

Re: Thin client reconnection handling inside kubernetes

2022-09-28 Thread Pavel Tupitsyn
Hello, > does not re-attempt to re-resolve addresses Yes, that's a known issue [1], it is fixed in upcoming Ignite 2.14 The release is expected within the next month. For now I can only recommend recycling IgniteClient instances when scaling k8s up/down. [1]

Re: Ignite cache failed to read by key intermittently

2022-09-21 Thread Pavel Tupitsyn
rote: > >> Hi, >> I already attached server config in the same mail thread( along with >> sample code). >> >> Regards, >> Charlin >> >> >> On Tue, 20 Sept 2022 at 11:50, Pavel Tupitsyn >> wrote: >> >>> Now the client starts

Re: Ignite cache failed to read by key intermittently

2022-09-20 Thread Pavel Tupitsyn
gt; > > On Tue, 20 Sept 2022 at 11:04, Pavel Tupitsyn > wrote: > >> Still can't run, sorry. It has hardcoded directories from your machine >> (IgniteSettings.IGNITE_HOME, IgniteSettings.WorkDirectory - commented them >> out), and also GlobalVariables.IgniteSettings.Con

Re: Ignite cache failed to read by key intermittently

2022-09-19 Thread Pavel Tupitsyn
abs/common_dynamiccache_client_config.xml Please make sure the zip file has everything required to run the application on any machine. On Mon, Sep 19, 2022 at 5:07 PM Charlin S wrote: > Hi, > I have attached here. > Regards, > Charlin > > > On Mon, 19 Sept 2022 at 19:00, Pavel Tupit

Re: Ignite cache failed to read by key intermittently

2022-09-19 Thread Pavel Tupitsyn
ate solution and attached it here. I am sharing a > cache data reading time screenshot for your reference . > [image: image.png] > Regards, > Charlin > > > > > > On Mon, 19 Sept 2022 at 11:00, Pavel Tupitsyn > wrote: > >> The code you provided above u

Re: Ignite cache failed to read by key intermittently

2022-09-18 Thread Pavel Tupitsyn
. It's 90% actual code only. I have changed cache > name and grid name as per policy. I have to prepare a separate solution and > provide you if required. > > Regards, > Charlin > > > > On Fri, 16 Sept 2022 at 19:11, Pavel Tupitsyn > wrote: > >> It does no

Re: Ignite cache failed to read by key intermittently

2022-09-16 Thread Pavel Tupitsyn
It does not have to be your actual code, just something that demonstrates the problem On Fri, Sep 16, 2022 at 4:40 PM Pavel Tupitsyn wrote: > Can you please share a complete project that I can run and see the issue? > > On Fri, Sep 16, 2022 at 4:30 PM Charlin S wrote: > >>

Re: Ignite cache failed to read by key intermittently

2022-09-16 Thread Pavel Tupitsyn
response.SingleObject = model; > response.Status = true; > response.StatusCode = System.Net.HttpStatusCode.OK; > } > else > { > response.Status = false; >

Re: Ignite cache failed to read by key intermittently

2022-09-16 Thread Pavel Tupitsyn
possible to update the cache by another process/workflow). > Always data read only once cache inserted by key. > > Regards, > Charlin > > > On Fri, 16 Sept 2022 at 17:21, Pavel Tupitsyn > wrote: > >> Ok, so the issue is that the key is not present in the cache, and this

Re: Ignite cache failed to read by key intermittently

2022-09-16 Thread Pavel Tupitsyn
present in the cache."; > response.StatusCode = > System.Net.HttpStatusCode.NoContent; > } > > Regards, > Charlin > > On Fri, 16 Sept 2022 at 16:53, Pavel Tupitsyn > wrote: > >> Hi Charlin, >> >> Please provide full

Re: Ignite cache failed to read by key intermittently

2022-09-16 Thread Pavel Tupitsyn
Hi Charlin, Please provide full exception details. On Fri, Sep 16, 2022 at 2:04 PM Charlin S wrote: > Hi All, > Cache.TryGet failed to read intermittently and was unable to read some > time later. > > having 3 server nodes and 11 client nodes. cache mode is partition and > atomicitymode not

Re: Why does Thin client connect to all servers in connection string???

2022-09-05 Thread Pavel Tupitsyn
Hi, this is called "partition awareness" [1] - thin client establishes connections to all known nodes to be able to send requests directly to the primary node for the given entry. Multiple connections are also useful for load balancing and improved reliability. You can disable this behavior with

Re: Error on Ignite.close(): class java.io.ObjectInputStream$Caches$1 cannot be cast to class java.util.Map

2022-08-29 Thread Pavel Tupitsyn
Roman, good catch - I've cherry-picked IGNITE-17481 to 2.14 On Mon, Aug 29, 2022 at 9:47 AM Roman Puchkovskiy < roman.puchkovs...@gmail.com> wrote: > Looks like this has been fixed in > https://issues.apache.org/jira/browse/IGNITE-17481 > Not

Re: distributed-computing error System.Runtime.Serialization.ISerializable

2022-08-24 Thread Pavel Tupitsyn
in client? > > ---Original--- > *From:* "Pavel Tupitsyn" > *Date:* Wed, Aug 24, 2022 19:14 PM > *To:* "user"; > *Subject:* Re: distributed-computing error > System.Runtime.Serialization.ISerializable > > This line is the problem: > public ICache

Re: distributed-computing error System.Runtime.Serialization.ISerializable

2022-08-24 Thread Pavel Tupitsyn
ite.Core.Impl.Binary.BinaryWriter.WriteObject(string, T) > ... > [Call Stack Truncated] > > Inner Exception 1: > SerializationException: Serializing delegates is not supported on this > platform. > > Note: I am having two 2 server nodes and running the POC application on a > client

Re: distributed-computing error System.Runtime.Serialization.ISerializable

2022-08-24 Thread Pavel Tupitsyn
Please share the exception with full stack trace (you've only shared some warnings, which may or may not be a problem). On Wed, Aug 24, 2022 at 10:26 AM Charlin S wrote: > > I have a requirement to fetch the data using distributed-computing > function and error at > var res =

Re: Which cacheKeyConfiguration

2022-08-01 Thread Pavel Tupitsyn
The intent is the same - to define an affinity key for a given type. IgniteConfiguration does it globally, CacheConfiguration just for a specific cache. On Mon, Aug 1, 2022 at 9:12 PM Mike Wiesenberg wrote: > > Hi > I'm wondering why there are CacheKeyConfiguration setters on both the >

Re: Cursor in ThinClient failure

2022-07-14 Thread Pavel Tupitsyn
Hi, sorry for the late reply, your message got in my spam folder for some reason. > If the thin client fails during the execution of the above code, will it leave an unclosed cursor on the server side? No, if the query fails, all resources are cleared. On Thu, Jul 7, 2022 at 1:26 PM 38797715

Re: cannot unsubscribe

2022-07-14 Thread Pavel Tupitsyn
Please send any text to user-unsubscr...@ignite.apache.org ‪On Thu, Jul 14, 2022 at 10:24 AM ‫אריאל מסלאטון‬‎ wrote:‬ > I have been unsubscribing from the mailing list but I keep getting emails. > I sent unsubscribe messages to every mailing list and it didn't help. > > Can you please assist? >

Re: TiKV vs Ignite 3

2022-07-09 Thread Pavel Tupitsyn
What about Ignite 2? It is great for KV scenarios, and the Java client is first-class. On Sat, Jul 9, 2022 at 6:51 PM Pavel Tupitsyn wrote: > Hi, > > Ignite 3 is in alpha stage, it is way too early to do any benchmarks. > We are aware of existing performance issues, those will be

Re: TiKV vs Ignite 3

2022-07-09 Thread Pavel Tupitsyn
Hi, Ignite 3 is in alpha stage, it is way too early to do any benchmarks. We are aware of existing performance issues, those will be fixed. Right now the focus is on correctness and features. > Are there any plans for Ignite 3 to have more low level functions like the scan api to iterate over

Re: Thin client cache operations takes longer and longer for subsequent retries to throw exception when server down

2022-07-08 Thread Pavel Tupitsyn
This behavior is controlled by the following fields in ClientConfiguration [1]: retryLimit, reconnectThrottlingRetries, reconnectThrottlingPeriod To fail fast, set reconnectThrottlingPeriod to 0 and retryLimit to 1. [1]

Re: Live fallback/backup scenario

2022-07-02 Thread Pavel Tupitsyn
> a) The persistent directory on the crashed server is still available > (but most likely is not up-to-date with latest data from the other > caches). Do I add the server to the base topology and it will > automatically get the data that it missed during its downtime? Restarted node is still a

Re: ThinClient connection refused / disconnect

2022-07-02 Thread Pavel Tupitsyn
ontainer with network „host“. CPU load does not seem to > be an issue and other server nodes on the same computer and from other > computers connect to the cluster just fine without such connection issues. > > I‘ll check the server logs more thoroughly. > > > > > On 1

Re: Performance and large numbers of servers

2022-06-28 Thread Pavel Tupitsyn
is change (e.g. is > desc.name() unique?). > > Art > > > On Tue, Jun 28, 2022 at 12:27 PM Arthur Naseef > wrote: > >> Yes. The "services" in our case will be schedules that periodically >> perform fast operations. >> >> For example a ser

Re: Performance and large numbers of servers

2022-06-28 Thread Pavel Tupitsyn
> we do not plan to make cross-cluster calls into the services If you are making local calls, I think there is no point in using Ignite services. Can you describe the use case - what are you trying to achieve? On Tue, Jun 28, 2022 at 8:55 PM Arthur Naseef wrote: > Hello - I'm getting started

Re: Re: ignite client can not reconnect to ignite Kubernetes cluster,after pod restart

2022-06-28 Thread Pavel Tupitsyn
The fix has been merged. Thanks for the contribution, wkhapy123! On Fri, Jun 24, 2022 at 8:57 AM Pavel Tupitsyn wrote: > Please request contributor permissions on d...@ignite.apache.org > > On Fri, Jun 24, 2022 at 6:53 AM wkhapy...@gmail.com > wrote: > >> Hi, >&

Re: Sql Query to read data for a partition of a table

2022-06-26 Thread Pavel Tupitsyn
gt; > Thanks and Regards, > Sachin Janani > > On Sat, Jun 25, 2022 at 1:46 PM Pavel Tupitsyn > wrote: > >> SqlQuery#partitions does just that: >> >> https://ignite.apache.org/releases/latest/javadoc/org/apache/ignite/cache/query/SqlQuery.html#setPartitions-int...- >

Re: Sql Query to read data for a partition of a table

2022-06-25 Thread Pavel Tupitsyn
SqlQuery#partitions does just that: https://ignite.apache.org/releases/latest/javadoc/org/apache/ignite/cache/query/SqlQuery.html#setPartitions-int...- On Sat, Jun 25, 2022 at 10:36 AM Sachin janani wrote: > Hi Team, > Is it possible in ignite to query data for a specific partition in SQL >

  1   2   3   4   5   6   >