Goutam,
What are you doing to get from the input id to the actual keys to delete?
Are you running a query? If so, how are you running it, and is it indexed?
Thanks,
Barry Oglesby
On Tue, May 2, 2017 at 11:02 AM, Goutam Tadi wrote:
> Hi Barry,
>
> 1) OptimizeForWrite returns true.
>
> 2)
> Fun
Hi Barry,
1) OptimizeForWrite returns true.
2)
FunctionService.onRegion(event.getRegion()).withArgs(id).execute(DeleteCollectedKeysFunction.ID);
idabove helps to retrieve the set of keys inside the DeleteCollectedKeys
funciton.
Thanks.
On Mon, May 1, 2017 at 5:17 PM Barry Oglesby wrote
Are you passing the keys as a filter or an argument? What does
optimizeForWrite in your function return?
Thanks,
Barry Oglesby
On Mon, May 1, 2017 at 4:41 PM, Goutam Tadi wrote:
> Hi Dan,
>
> Thanks for the reply.
> No, we are neither executing the function nor passing keys from a client.
> We
Hi Dan,
Thanks for the reply.
No, we are neither executing the function nor passing keys from a client.
We are trying to remove a significant portion of the keys from a region
(most, but not all) at once.
Thanks.
On Mon, May 1, 2017 at 2:40 PM Dan Smith wrote:
> That seems like it should do th
That seems like it should do things fairly quickly. Are you executing the
function from a client? Did you find that using a function was actually
faster than just calling removeAll from the client? I think removeAll from
the client should send your keys in a single message, similar to your
function
Hi Team,
With +Bradford D Boyle
We are trying to remove a set of keys from a `PartitionedRegion`.
Currently, we execute a function with `onRegion()`. Inside the function, we
call `PartitionRegionHelper.getLocalPrimaryData()` and use the returned
region to execute `region.removeAll(keys)`.
The p