Re: Continuous query with Thin client

2021-04-16 Thread Stephen Darlington
Looks like that’s coming in 2.11:

IGNITE-14402 

It’s present in the .net thin client since 2.10.

Regards,
Stephen

> On 16 Apr 2021, at 17:21, sourav dihidar  wrote:
> 
> Hi Team,
> 
> I understood that continuous query for java thin client has been introduced 
> in the latest ignite version(2.10.0). Do you have any documentation around  
> this specially how to use it through thin client.
> 
> Thanks 




Continuous query with Thin client

2021-04-16 Thread sourav dihidar
Hi Team,

I understood that continuous query for java thin client has been introduced
in the latest ignite version(2.10.0). Do you have any documentation
around  this specially how to use it through thin client.

Thanks


Ignite Server Upgrade While Keeping Data

2021-04-16 Thread starlight
Hello,

What is the general procedure of upgrading Ignite Server from one version to
another while maintaining data?

Particularly I plan to upgrade the Server and Client from 2.7 to 2.10. The
server currently stores large amounts of data.

Thanks in advance, best regards,



--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/


Re: Ignite Server Upgrade While Keeping Data

2021-04-16 Thread Ilya Kasnacheev
Hello!

If you have native persistence configured, you should be able to start 2.10
nodes with 2.7 persistence files. Just restart all of your nodes at once to
the new version.

If you have a purely in-memory cluster, it is assumed that you are ready
for occasional full cluster restart and starting anew (repopulating data,
etc). In this case it may be even possible to bring up the new cluster,
switch the load to new cluster, sunset the old one.

Apache Ignite does not have support for rolling upgrade yet: it is not
possible to bring new version nodes to old version cluster.

Regards,
-- 
Ilya Kasnacheev


пт, 16 апр. 2021 г. в 13:54, starlight :

> Hello,
>
> What is the general procedure of upgrading Ignite Server from one version
> to
> another while maintaining data?
>
> Particularly I plan to upgrade the Server and Client from 2.7 to 2.10. The
> server currently stores large amounts of data.
>
> Thanks in advance, best regards,
>
>
>
> --
> Sent from: http://apache-ignite-users.70518.x6.nabble.com/
>


Re: Is there any way to get cache and node status programatically?

2021-04-16 Thread facundo.maldonado
Fair enough, with cluster().nodes() I get the online nodes and matching them
with cluster().currentBaselineTopology() should give me those that are
offline (from baseline).

ignite.cluster().state() gives us the state of the cluster. The cluster
could be ACTIVE but the cache is in ReadOnlyState.

The only way to find out that is by the exception it throws when I need to
write something?



--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/


Re: List all available distributed locks in cluster

2021-04-16 Thread Paolo Bazzi
Cool, thanks! 



--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/


Re: List all available distributed locks in cluster

2021-04-16 Thread Ilya Kazakov
Hello. There is no such API in Ignite. But it is a good idea to implement
it. I have created a ticket for this:
https://issues.apache.org/jira/browse/IGNITE-14569

Ilya

чт, 15 апр. 2021 г. в 22:05, Paolo Bazzi :

> Hi all,
>
> Is there a way to list all available distributed locks within the cluster?
> Would be nice to allow some sort of monitoring about used locks and their
> correct disposal by our application.
>
> In fact I'm looking for something similar to:
> org.apache.ignite.Ignite#cacheNames but for locks.
>
> Looking at the source code, I found the following map containing some of
> the
> desired information:
>
> org.apache.ignite.internal.processors.datastructures.DataStructuresProcessor#dsMap
>
> -> Any way to expose this content by API?
>
> Regards,
> Paolo
>
>
>
> --
> Sent from: http://apache-ignite-users.70518.x6.nabble.com/
>


Re: Is there any way to get cache and node status programatically?

2021-04-16 Thread Ilya Kazakov
Hello. You can get all nodes online nodes:

ignite.cluster().nodes()
To check cluster state you can use this code:

ignite.cluster().state()

--
Ilya


пт, 16 апр. 2021 г. в 01:39, facundo.maldonado :

> Is there any API or recommended way to get if a node is Online or Offline
> programmatically the same way control script does?
>
> Also, once a cache is moved to read-only state, I can't find a way to get
> that status?
>
>
>
>
>
> --
> Sent from: http://apache-ignite-users.70518.x6.nabble.com/
>