geode-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anthony Baker (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (GEODE-1424) PartitionRegionHelper local data methods return a Region whose isEmpty method may be wrong
Date Mon, 22 Aug 2016 16:58:25 GMT

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

Anthony Baker closed GEODE-1424.
--------------------------------

> PartitionRegionHelper local data methods return a Region whose isEmpty method may be
wrong
> ------------------------------------------------------------------------------------------
>
>                 Key: GEODE-1424
>                 URL: https://issues.apache.org/jira/browse/GEODE-1424
>             Project: Geode
>          Issue Type: Bug
>          Components: regions
>            Reporter: Darrel Schneider
>            Assignee: Darrel Schneider
>             Fix For: 1.0.0-incubating.M3
>
>
> PartitionRegionHelper has the methods: getLocalData and getLocalPrimaryData.
> They both return an instance of Region.
> The isEmpty method may return false even though no local data exists.
> To workaround this bug use the following instead of isEmpty:
>   region.size() != 0



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message