[ 
https://issues.apache.org/jira/browse/GEODE-6762?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dick Cavender closed GEODE-6762.
--------------------------------

> BucketRegion ops do not always need to call createEventForPR
> ------------------------------------------------------------
>
>                 Key: GEODE-6762
>                 URL: https://issues.apache.org/jira/browse/GEODE-6762
>             Project: Geode
>          Issue Type: Improvement
>          Components: core
>            Reporter: Darrel Schneider
>            Assignee: Mario Ivanac
>            Priority: Major
>              Labels: needs-review, performance, pull-request-available
>             Fix For: 1.10.0
>
>          Time Spent: 1h 50m
>  Remaining Estimate: 0h
>
> The BucketRegion class has multiple places in the after op event delivery 
> code that call createEventForPR and then ask that callbacks be invoked for 
> that event on the partitioned region.
> But we will only have callbacks to invoke if we are a cache server that has 
> clients registered for events or the partitioned region has a cache listener, 
> We could prevent this optimization by doing some cheap checks to see if any 
> callbacks are possible before calling createEventForPR.
> Some code that does this for BucketRegion put can be found here:
> f7a824c62a57a5039b816a4a8b8b4d8c1c1fcb86 and here: 
> f568960235bda994bd7c6d0c575567ed2ccb10a5



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to