ignite-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vkulichenko <valentin.kuliche...@gmail.com>
Subject Re: How can I change node attributes runtime?
Date Tue, 25 Aug 2015 22:30:27 GMT
Alexey V. Ryazanov wrote
> If I use ignite.cluster().forAttribute("key", "value) for select several
> nodes from cluster, can I include/exclude node to/from ClusterGroup
> runtime by changing attribute value?


This is not possible - node attributes are static and assigned on the
startup. If you want to exclude a node from the group, you create a new
group based on the original one. For example, you can do it like this:

// 'group' is the original cluster group.

Will this work for you?


View this message in context: http://apache-ignite-users.70518.x6.nabble.com/How-can-I-change-node-attributes-runtime-tp1122p1127.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.

View raw message