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

Wrap server-side rewrite in a transaction

    • Type: Icon: Task Task
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • QO 2022-03-07, QO 2022-03-21

      All queries against the encrypted state collections as well as the user collection must happen inside of a transaction in order to ensure correct results. We should use the internal transaction API developed in PM-2210 to start a transaction if the user has not already started one. All logic surrounding query rewriting done for SERVER-63294 as well as the execution of the rewritten user query should happen inside of this transaction.

      Jstests against replica sets for find() commands over encrypted fields can now be written, too.

            Assignee:
            davis.haupt@mongodb.com Davis Haupt (Inactive)
            Reporter:
            davis.haupt@mongodb.com Davis Haupt (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: