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.

Reply via email to