You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2021/11/08 20:52:00 UTC

[jira] [Commented] (GEODE-9804) Both registerAllKeys and registerRegex always fetch initial entries.

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

ASF GitHub Bot commented on GEODE-9804:
---------------------------------------

pivotal-jbarrett opened a new pull request #892:
URL: https://github.com/apache/geode-native/pull/892


   * Makes InterestResultPolicy a proper enum.
   * Adds integration benchmark for register interest.
   * Cleanup methods unused arguments.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@geode.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


> 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
>
> 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)