Val, When a new node joins the cluster, should I have to call loadCache() or localLoadCache() method ?
>From docs, 1. loadCache() - executes localLoadCache() on all the nodes 2. localLoadCache() - will trigger data loading only in the local node. --Kamal On Thu, Jul 14, 2016 at 4:12 AM, vkulichenko <[email protected]> wrote: > Hi, > > You don't need to load all person IDs when loading the data. The > loadCache() > implementation can use Affinity API to get the array of local partition IDs > and query the DB based on this IDs. With this approach each node will load > only those rows that has to be stored locally. See the second code example > in [1]. Also note the you can load different partitions in parallel. > > [1] > > https://apacheignite.readme.io/docs/data-loading#section-partition-aware-data-loading > > -Val > > > > -- > View this message in context: > http://apache-ignite-users.70518.x6.nabble.com/Understanding-data-store-and-partitioning-tp6264p6282.html > Sent from the Apache Ignite Users mailing list archive at Nabble.com. >
