[ 
https://issues.apache.org/jira/browse/GEODE-9804?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17446734#comment-17446734
 ] 

ASF subversion and git services commented on GEODE-9804:
--------------------------------------------------------

Commit c5aee1b68a0cfeda2480afb4b27bd2b12fae0d8f in geode-native's branch 
refs/heads/develop from Michael Martell
[ https://gitbox.apache.org/repos/asf?p=geode-native.git;h=c5aee1b ]

GEODE-9804: new register interest tests (#894)

* Fixes incorrect fetching of initial entries.
* Makes InterestResultPolicy a proper enum.
* Adds integration benchmark for register interest.
* Fixes for MSVC errors.
* Don't ask for keys if not caching locally.
* Replace sleep with CacheListener events.
* Use latches for syncrhonization with listener.
* Change boost loglevel to warning.
* Encapsulate synchronization in CountdownCacheListener.

Co-authored-by: Jacob Barrett <[email protected]>

> Both registerAllKeys and registerRegex always fetch initial entries.
> --------------------------------------------------------------------
>
>                 Key: GEODE-9804
>                 URL: https://issues.apache.org/jira/browse/GEODE-9804
>             Project: Geode
>          Issue Type: Bug
>            Reporter: Jacob Barrett
>            Priority: Major
>              Labels: needsTriage, pull-request-available
>
> A inconsistency and bug in how the two regex interest methods configure the 
> initial interest policy results in the both registerAllKeys and registerRegex 
> fetching all initial entries despite the boolean parameter to get initial 
> entries. Furthermore the misconfiguration results in none of the entries 
> actually getting sent to the cache listener. The result is unnecessarily long 
> registration times, network traffic and load on the servers. On servers with 
> say millions of keys this can result in long GC pauses to unintentionally 
> iterate over all those keys.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to