Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-65840

Allow returning any type from the callback given to the transaction API

    XMLWordPrintableJSON

Details

    • Cluster Scalability
    • 5

    Description

      Currently, the callback given to the transaction API must return void so callers have to use shared state to return values from the callback to the API caller. Instead the API should allow the callback to return any type and the response from the various transaction run() methods should return that type, in addition to the currently returned CommitResult.

      Attachments

        Activity

          People

            backlog-server-cluster-scalability Backlog - Cluster Scalability
            jack.mulrow@mongodb.com Jack Mulrow
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: