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

Reduce usage of transactions in QE server rewrite

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 7.0.0-rc0
    • None
    • None
    • None
    • Fully Compatible
    • Security 2023-03-20, Security 2023-04-03

    Description

      In QE protocol v1, tags needed to be read from ESC and ECC. This necessitated using a transaction to ensure consistency between the two tables. In QE protocol V2, ECC is gone and all tag reading is done by the new QE command to read ESC. Therefore, we no longer need to do the QE reads in a separate transaction. Avoiding an unnecessary transaction allows us to avoid the need to write to the oplog to ensure we read from majority committed changes.

      Attachments

        Activity

          People

            mark.benvenuto@mongodb.com Mark Benvenuto
            mark.benvenuto@mongodb.com Mark Benvenuto
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: