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

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Works as Designed
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • 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
            Reporter:
            Mark Benvenuto
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: