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

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

Jacob Barrett created GEODE-9804:
------------------------------------

             Summary: 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


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)