[
https://issues.apache.org/jira/browse/GEODE-6762?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16885700#comment-16885700
]
ASF subversion and git services commented on GEODE-6762:
--------------------------------------------------------
Commit 70b001c9f4c3760a2476e6b56d933fc83eb18a57 in geode's branch
refs/heads/develop from mivanac
[ https://gitbox.apache.org/repos/asf?p=geode.git;h=70b001c ]
GEODE-6762: Checks added for client proxies (#3761)
* Clients are notified only if proxies are present.
> 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
> 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
(v7.6.14#76016)