[SERVER-67909] Skip dropping a non-existent temp ECOC collection in the compact coordinator Created: 08/Jul/22 Updated: 29/Oct/23 Resolved: 02/Aug/22 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 6.0.2, 6.1.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 | ||||||||||||
| Backport Requested: |
v6.0
|
||||||||||||
| Sprint: | Security 2022-08-08 | ||||||||||||
| Participants: | |||||||||||||
| Linked BF Score: | 30 | ||||||||||||
| Description |
|
It is possible that the kDropTempCollection phase of the compaction coordinator may get restarted even if it has already dropped the ecoc.compact temp collection in a previous run. In this case, it will throw a CollectionUUIDMismatch error, instead of returning the result of the actual compaction operation. A check needs to be performed before the call to drop for the existence of the collection with the specified UUID. If it exists, then skip the drop operation. |
| Comments |
| Comment by Githook User [ 01/Aug/22 ] |
|
Author: {'name': 'Erwin Pe', 'email': 'erwin.pe@mongodb.com', 'username': 'erwee'}Message: |
| Comment by Githook User [ 01/Aug/22 ] |
|
Author: {'name': 'Erwin Pe', 'email': 'erwin.pe@mongodb.com', 'username': 'erwee'}Message: |