ignite-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From November <yufeng7...@126.com>
Subject Re: How does AffinityKey mapped?
Date Thu, 14 Jul 2016 01:15:08 GMT
Thanks for reply.

Just confirm I understand right.

IgniteCache<Integer, Organization> orgCache
IgniteCache<Integer, Company> comCache
IgniteCache<EmployeeKey, Employee> empCache

In these three caches. The partition function will use
EmployeeKey.organizationId to decide which node to store Employee.

If orgCache, comCache's key have the same value with
EmployeeKey.organizationId. Then all the three value will store in the same
node. Because the partition function is the same to specify data type?



--
View this message in context: http://apache-ignite-users.70518.x6.nabble.com/How-does-AffinityKey-mapped-tp6260p6288.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Mime
View raw message