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

Reply via email to