Yes, but you also need to make sure you use the correct affinityRun method. 
There’s one where you specify multiple caches and you need to use that one.

> On 13 May 2020, at 12:50, narges saleh <[email protected]> wrote:
> 
> Hi All,
> If I have these two caches/tables defined via query entities, in a  config 
> file,
> Employee (partitioned)
>   employee-id
>   company-id
>   name
>  primary key(employee-id, company-id), affinity(company-id)
> 
> Company (partitioned)
>   company-id.
>   name
>   primary key(company-id)
> 
> If I do AffinityRun or mapkeystonodes with two server ignite nodes running on 
> the same physical box, shouldn't I see the employee records with the same 
> company-id and the company record with the same company-id on the same ignite 
> node?
> 
> thanks.
> 


Reply via email to