-
Type: Task
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
Labels:None
-
Fully Compatible
-
Security 2022-04-04, Security 2022-04-18
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.
- depends on
-
SERVER-64874 [Retryability] Make mongos return retriedStmtIds
- Closed