You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "Owen Nichols (Jira)" <ji...@apache.org> on 2022/06/22 20:46:02 UTC

[jira] [Closed] (GEODE-10067) WANCopyRegionFunctionDelegate needs to be optimized to handle large regions

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

Owen Nichols closed GEODE-10067.
--------------------------------

> WANCopyRegionFunctionDelegate needs to be optimized to handle large regions
> ---------------------------------------------------------------------------
>
>                 Key: GEODE-10067
>                 URL: https://issues.apache.org/jira/browse/GEODE-10067
>             Project: Geode
>          Issue Type: Improvement
>          Components: wan
>    Affects Versions: 1.15.0
>            Reporter: Udo Kohlmeyer
>            Assignee: Alberto Gomez
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 1.15.0
>
>
> The current WanCopyRegionFunctionDelegate may cause significant memory issues in with really large regions.
> The [getEntries|https://github.com/apache/geode/blob/develop/geode-wan/src/main/java/org/apache/geode/management/internal/cli/functions/WanCopyRegionFunctionDelegate.java#L102] method returns both primary and redundant Region Entries for local server.
> The invocation of getEntries from the PartitionedRegionDataStore will cause all entries to be deserialized https://github.com/apache/geode/blob/develop/geode-core/src/main/java/org/apache/geode/internal/cache/PartitionedRegionDataStore.java#L2501-L2515
> The [createBatch|https://github.com/apache/geode/blob/develop/geode-wan/src/main/java/org/apache/geode/management/internal/cli/functions/WanCopyRegionFunctionDelegate.java#L107-L108] method creates a List<GatewayQueueEvent> equally that of the local Region size.
> Essentially ... In a system with VERY large regions this might cause significant memory issues
>  



--
This message was sent by Atlassian Jira
(v8.20.7#820007)