Make key vault create keys with majority writes.

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 6.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • ALL
    • Security 2022-05-30
    • 39
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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.

            Assignee:
            Erwin Pe
            Reporter:
            Mark Benvenuto
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: