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

Add retryable write support to FLE 2 CRUD

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 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
    • 3
    • 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@mongodb.com Mark Benvenuto
            Reporter:
            mark.benvenuto@mongodb.com Mark Benvenuto
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: