You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "Eric Shu (JIRA)" <ji...@apache.org> on 2018/02/27 18:23:00 UTC

[jira] [Commented] (GEODE-4721) Being invoked within JTA Region.values() (and all iteration related operations) does return empty collection

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

Eric Shu commented on GEODE-4721:
---------------------------------

Does your failed case use client proxy region to perform JTA? If so, there is a workaround by performing a region.get() on a existing/non existing key before accessing the values.


> Being invoked within JTA Region.values() (and all iteration related operations) does return empty collection
> ------------------------------------------------------------------------------------------------------------
>
>                 Key: GEODE-4721
>                 URL: https://issues.apache.org/jira/browse/GEODE-4721
>             Project: Geode
>          Issue Type: Bug
>          Components: regions, transactions
>            Reporter: Vadim Lotarev
>            Assignee: Eric Shu
>            Priority: Critical
>
> {{Region.values()}} returns empty collection being invoked within JTA. Other operations returns data, for example this workaround works (though less efficient): {{region.getAll(region.keySet()).values()}}, also {{Region.size()}} returns correct value.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)