[ https://issues.apache.org/jira/browse/GEODE-9123?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Anilkumar Gingade updated GEODE-9123: ------------------------------------- Description: Behavior: Currently the PR.clear invokes after clear events in the local nodes after all the bucket regions are cleared on that node. Expected behavior: The PR.clear to invoke after clear events after all the PR buckets are cleared in all the nodes. Solution: The PR clear sends unlock message after all the bucket region is cleared. In addition to unlock a boolean value could be sent indicating whether to call after callback events (based on the successful clear on all nodes). was: Notify clients when partitioned region is cleared. Clients require notifications for cache listeners and subscriptions. On the server subscription data goes to the client through a server side CacheClientNotifier. On the client we have a single CacheClientUpdater thread that receives it. We also have CQs (continuous queries) that should be told of the clear (need to research how CQs get events). If a client does not have any subscriptions then the server will not have a subscription queue so in that case the clear does not need to be sent to it. > PR clear after events (client notification, cache-listener invocation) should > be invoked after all buckets are cleared. > ----------------------------------------------------------------------------------------------------------------------- > > Key: GEODE-9123 > URL: https://issues.apache.org/jira/browse/GEODE-9123 > Project: Geode > Issue Type: New Feature > Components: client queues, client/server, regions > Reporter: Kirk Lund > Assignee: Kirk Lund > Priority: Major > Labels: GeodeOperationAPI > > Behavior: > Currently the PR.clear invokes after clear events in the local nodes after > all the bucket regions are cleared on that node. > Expected behavior: > The PR.clear to invoke after clear events after all the PR buckets are > cleared in all the nodes. > Solution: > The PR clear sends unlock message after all the bucket region is cleared. In > addition to unlock a boolean value could be sent indicating whether to call > after callback events (based on the successful clear on all nodes). -- This message was sent by Atlassian Jira (v8.3.4#803005)