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

Make key vault create keys with majority writes.

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 6.1.0-rc0
    • None
    • None
    • None
    • Fully Compatible
    • ALL
    • Security 2022-05-30
    • 39

    Description

      The key vault uses majority read concern to read but inserts are done with default write concern. This introduces a race condition in tests where the test cases cannot see the newly inserted key in the key vault. The insert in src/mongo/shell/keyvault.js should be done with write concern majority.

      The read concern of the key vault was changed in SERVER-62666.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: