[ https://issues.apache.org/jira/browse/GEODE-4721?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16381171#comment-16381171 ]
Eric Shu commented on GEODE-4721: --------------------------------- So far I could not reproduce the issue mentioned unless JTA and set operation is on a client proxy region. Can you share your function body, and how it was invoked -- using onMember or onRegion? Please note, if you set gemfire.restoreSetOperationTransactionBehavior=true, and then in the function you perform some entry operations. If you then access the set (values, entrySet), JTA/transaction will fail with IllegalStateException of "The Region collection is not transactional but is being used in a transaction". > 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)