Uploaded image for project: 'Geode'
  1. Geode
  2. GEODE-6016

Geode function execution in client transaction with singleHopEnabled is not transactional

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.1.0
    • 1.9.0
    • transactions
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              eshu Eric Shu
              eshu Eric Shu
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: