External ignite node is left outside when ignite cluster is restarted

2019-11-11 Thread Narsi Reddy Nallamilli
I have an ignite cluster with 2 nodes and another external 1 nodes connected to the ignite cluster . Now if the ignite cluster with 2 nodes restart then the external 1 nodes is left out of cluster. I am interested in finding some way the external 1 node rejoin the restarted cluster nodes. Please

Re: External ignite node is left outside when ignite cluster is restarted

2019-11-11 Thread Narsi Reddy Nallamilli
de or a client node? > > If this is a server node, it will never reconnect to a new cluster. > > Regards, > -- > Ilya Kasnacheev > > > пн, 11 нояб. 2019 г. в 11:40, Narsi Reddy Nallamilli < > narsi.nallami...@gmail.com>: > >> I have an ignite cluster with 2 nodes and a

Re: query if queue exist and get it like getOrCreateCache

2019-11-14 Thread Narsi Reddy Nallamilli
t;> <https://ignite.apache.org/releases/latest/javadoc/org/apache/ignite/configuration/CollectionConfiguration.html> >> cfg) >> Will get a named queue from cache and create one if it has not been >> created yet and cfg is not null. >> >> Mikael >> >> Den 2019-11-14 kl. 13:02, skrev Narsi Reddy Nallamilli: >> >> Hi! >> >> I am looking for some method just like getOrCreateCache available for >> queue. Any help! >> >>

Re: External ignite node is left outside when ignite cluster is restarted

2019-11-14 Thread Narsi Reddy Nallamilli
gt; > > пн, 11 нояб. 2019 г. в 13:11, Narsi Reddy Nallamilli < > narsi.nallami...@gmail.com>: > >> Hi, >> >> It's a server node. >> >> Can I create a ignite listener to check if the topology size is one which >> mean it is disconnected and

query if queue exist and get it like getOrCreateCache

2019-11-14 Thread Narsi Reddy Nallamilli
Hi! I am looking for some method just like getOrCreateCache available for queue. Any help!

Re: query if queue exist and get it like getOrCreateCache

2019-11-14 Thread Narsi Reddy Nallamilli
ueue from cache and create one if it has not been > created yet and cfg is not null. > > Mikael > > Den 2019-11-14 kl. 13:02, skrev Narsi Reddy Nallamilli: > > Hi! > > I am looking for some method just like getOrCreateCache available for > queue. Any help! > >

ignite queue poller

2020-03-01 Thread Narsi Reddy Nallamilli
Hi, Is there a queue poller built-in ignite which constantly and indefinitely polls the queue and can perform some task? I know only way is to write igniterunnable compute where i should run loop forever and perform the task on ignite queue element? But this is bad as there are cases when the

Queue read bug

2020-02-28 Thread Narsi Reddy Nallamilli
Hi, When queue is create with combination of nodefilter and groupname below first block, ignite returns null upon reading the same queue below second block. CollectionConfiguration colCfg = new CollectionConfiguration(); colCfg.setCollocated(true); colCfg.setGroupName("queues");

Re: cache put/clear atomicity query

2020-01-29 Thread Narsi Reddy Nallamilli
is an error you get if the JVM pauses for too long. Most often this > is a sign of poorly configured garbage collection but in this case is > almost certainly because you stopped the node in the debugger. This is not > caused by the use of replace or clear. > > On 29 Jan 2020, at

cache put/clear atomicity query

2020-01-28 Thread Narsi Reddy Nallamilli
Hello, Consider I have below cache on server node Cache --- key,value 1 | a >From client node1, I try to do put(1,a) and from client node2 I try to do clear(1). Are put and clear atomic, mean could this happen? 1. cliennode1 put operation identified that

Re: cache put/clear atomicity query

2020-01-28 Thread Narsi Reddy Nallamilli
puts the > value in the cache, regardless of whether a value exists or not. If you > want to replace an existing value, you should use the “replace” method. > > Alternatively, you could use transactions. > > Regards, > Stephen > > > On 28 Jan 2020, at 13:01,