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 2022/03/05 22:53:00 UTC

[jira] [Updated] (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 ]

ASF GitHub Bot updated GEODE-10067:
-----------------------------------
    Labels: pull-request-available  (was: )

> 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, 1.16.0
>            Reporter: Udo Kohlmeyer
>            Priority: Major
>              Labels: pull-request-available
>
> 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.1#820001)