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

Wrap server-side rewrite in a transaction

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Duplicate
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • None
    • QO 2022-03-07, QO 2022-03-21

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: