Ashish,

Sorry for all the questions, but I want to make sure I understand the
scenario. You have a data-aware function (invoked by onRegion) from which
you call getAll in region X. Is region X the region on which the function
is executed? Or is it another region? If multiple regions are involved, are
they co-located? How do you determine the keys to getAll? Are they passed
into the function? If so, as a filter or as an argument? What does
optimizeForWrite return? How many members are running?

Thanks,
Barry Oglesby



On Mon, Aug 19, 2019 at 1:19 PM aashish choudhary <
aashish.choudha...@gmail.com> wrote:

> We use data aware function and We make a call to region X from a data
> aware function using getLocalData API and then we do getall. Recently we
> introduced redundancy for our partitioned region and now we are getting
> duplicate enteries for that region X from function response. My hunch is
> that it is becuase of getLocalData + get all call so if we will change it
> to getLocalPrimaryData(hope name is correct) for region X it should only do
> get for primary copies. Is that correct way of handling  it.?
>
> With best regards,
> Ashish
>

Reply via email to