geode-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Darrel Schneider (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (GEODE-1424) PartitionRegionHelper local data methods return a Region whose isEmpty method may be wrong
Date Fri, 20 May 2016 23:10:12 GMT

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

Darrel Schneider updated GEODE-1424:
------------------------------------
    Description: 
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


  was:
PartitionRegionHelper has the methods: getLocalData and getLocalPrimaryData.
The 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



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