Hi,
*1. If I have 2 nodes,and do twice puts on existing empty cache,data isdivides on nodes.(1-1 peer node)?* Data partitioning is covered by affinity function, which works on cache key [1]. So the answer is it may or may not depending on the key. *2. Can I manually choose node on which want to do put,and how?* Yes you can. Use AffinityKeyMapped annotation on some field in key, or AffinityKey as cache key, or implement AffinityKeyMapper [2]. [1] https://apacheignite.readme.io/docs/affinity-collocation#affinity-function [2] https://apacheignite.readme.io/docs/affinity-collocation 2016-07-08 13:25 GMT+03:00 daniel07 <[email protected]>: > Hi > As far as I understood from following (on case of PARTITIONED mode) > http://apacheignite.gridgain.org/docs/cache-modes#partitioned-mode > my data is divided equally into partitions . > Now questions > 1. If I have 2 nodes,and do twice puts on existing empty cache,data is > divides on nodes.(1-1 peer node)? > 2. Can I manually choose node on which want to do put,and how? > > > > > -- > View this message in context: > http://apache-ignite-users.70518.x6.nabble.com/Cache-Partitioned-Mode-tp6172.html > Sent from the Apache Ignite Users mailing list archive at Nabble.com. > -- Best regards, Alexei Scherbakov
