ignite-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vkulichenko <valentin.kuliche...@gmail.com>
Subject Re: IgniteConfiguration.setNodeId() usage clarification
Date Wed, 05 Aug 2015 03:03:54 GMT
Andrey,

This configuration property is there just in case you want to set your own
ID instead of creating a random one, it's not used in vast majority of use
cases.

There is also setConsistentId() property which has to survive node restarts
(by default it's a pair of hostname and port). This one is used by affinity
functions.

BTW, consistent hashing is not used anymore. We have
RendezvousAffinityFunction and FairAffinityFunction instead.

-Val



--
View this message in context: http://apache-ignite-users.70518.x6.nabble.com/IgniteConfiguration-setNodeId-usage-clarification-tp818p822.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Mime
View raw message