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

Extend SyncTransactionWithRetries to support retrieving the operation time of commit transaction.

    • Type: Icon: Task Task
    • Resolution: Works as Designed
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None

      SyncTransactionWithRetries is used to do one or more CRUD operations in a transaction and then commit the transaction. To support casual consistency, mongod must return the OpTime in CRUD commands.

      A FLE2 insert consists of several inserts and one commit. FLE 2 needs to return the OpTime of
      of commit transaction command that TransactionWithRetries::run executes to the client, no the operation time of the last commit.

      SyncTransactionWithRetries needs to be enhanced to return the OpTime of the commit or provide a way for callers to retrieve so the OpTime can be returned to callers

            Assignee:
            jack.mulrow@mongodb.com Jack Mulrow
            Reporter:
            mark.benvenuto@mongodb.com Mark Benvenuto
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: