Use retryable write for deleteOne operation on fle2_crud.js

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Gone away
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Sharding EMEA 2023-05-01
    • 55
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Use retryable writes in this deleteOne operation on fle2_crud.js.

      Reasoning: After SERVER-74087, it is possible for deleteOne operations on sharded collections to bubble up a StaleConfig exception to the router after having already deleted one document. The router will have to retry the operation. fle2_crud.js relies on the accuracy of the 'deletedCount' field in the delete command response, so it needs to use retryable writes so that the correct 'deletedCount is reported on the retried operaration.

            Assignee:
            Jordi Serra Torrens
            Reporter:
            Jordi Serra Torrens
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: