Add retryable write support to FLE 2 CRUD

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 6.0.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • Security 2022-04-04, Security 2022-04-18
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Retryable writes work by verifying if a single CRUD operation has already been applied. This is done by checking the statement id in the oplog via TransactionParticipant::checkStatementExecutedNoOplogEntryFetch in write_commands.cpp.

      For FLE2, we just need to ensure the statement id from the user transaction is propagated to the first write (typically either ESC or ECC). If a CRUD operation is retried, you can check retriedStmtIds in the reply.

            Assignee:
            Mark Benvenuto
            Reporter:
            Mark Benvenuto
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: