[SERVER-66519] Make key vault create keys with majority writes. Created: 17/May/22 Updated: 29/Oct/23 Resolved: 17/May/22 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 6.1.0-rc0 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Mark Benvenuto | Assignee: | Erwin Pe |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||
| Backwards Compatibility: | Fully Compatible | ||||
| Operating System: | ALL | ||||
| Sprint: | Security 2022-05-30 | ||||
| Participants: | |||||
| Linked BF Score: | 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 |
| Comments |
| Comment by Githook User [ 17/May/22 ] |
|
Author: {'name': 'Erwin Pe', 'email': 'erwin.pe@mongodb.com', 'username': 'erwee'}Message: |