geode-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (GEODE-1424) PartitionRegionHelper local data methods return a Region whose isEmpty method may be wrong
Date Tue, 24 May 2016 20:40:12 GMT

    [ https://issues.apache.org/jira/browse/GEODE-1424?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15298854#comment-15298854
] 

ASF subversion and git services commented on GEODE-1424:
--------------------------------------------------------

Commit 37974043fc2f165a9a4f73f07fb0db1c2d8410f0 in incubator-geode's branch refs/heads/develop
from [~dschneider]
[ https://git-wip-us.apache.org/repos/asf?p=incubator-geode.git;h=3797404 ]

GEODE-1424: change isEmpty to use size


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