[SERVER-72996] Ignore NamespaceExists status when QE compact creates the ECOC collection Created: 18/Jan/23 Updated: 29/Oct/23 Resolved: 22/Mar/23 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Queryable Encryption |
| Affects Version/s: | None |
| Fix Version/s: | 7.0.0-rc0 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Erwin Pe | 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 2023-02-06, Security 2023-04-03 | ||||
| Participants: | |||||
| Linked BF Score: | 19 | ||||
| Description |
|
The compactStructuredEncryptionData command creates the ECOC collection after renaming it to a temporary namespace. Between the rename and the create, it is possible that another operation may create the ECOC collection, and so the compact command will fail with a NamespaceExists error when it tries to create the now-existing ECOC collection. This error should be ignored in compact. |
| Comments |
| Comment by Githook User [ 22/Mar/23 ] |
|
Author: {'name': 'Erwin Pe', 'email': 'erwin.pe@mongodb.com', 'username': 'erwee'}Message: |