Details
-
Bug
-
Resolution: Fixed
-
Major - P3
-
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.