Eric Shu created GEODE-6016:
-------------------------------

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


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)

Reply via email to