[
https://issues.apache.org/jira/browse/GEODE-6016?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16681914#comment-16681914
]
ASF subversion and git services commented on GEODE-6016:
--------------------------------------------------------
Commit c14d960f959abd20aaa98ba6308e37ad81ddb686 in geode's branch
refs/heads/develop from pivotal-eshu
[ https://gitbox.apache.org/repos/asf?p=geode.git;h=c14d960 ]
Feature/geode 6016 (#2820)
* GEODE-6016: Make client onRegion function transactional.
* Do not use a function execution thread to send message to server even if
singleHop is enabled when function is in transaction.
* Throw UnsupportedOperationException if client executes onMembers function
using transaction - to behave similar to onServers function when using
transaction.
> Geode function execution in client transaction with singleHopEnabled is not
> transactional
> -----------------------------------------------------------------------------------------
>
> Key: GEODE-6016
> URL: https://issues.apache.org/jira/browse/GEODE-6016
> Project: Geode
> Issue Type: Bug
> Components: transactions
> Reporter: Eric Shu
> Assignee: Eric Shu
> Priority: Major
>
> When function execution with single hop enabled, a function execution thread
> will execute the function. The function execution thread does not send a
> transactional message to server and this causes the function execution non
> transactional.
> This occurs when txmanager.begin is invoked on client like the following:
> txManager.begin();
> ResultCollector resultCollector =
> execution.withFilter(keySet).execute(function); resultCollector.getResult();
> txManager.commit()/rollback();
> If txmanager.begin() is embedded in function body, there is no issue as
> transaction starts on server directly.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)