[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:
Backports
Depends
Related
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: SERVER-67909 Skip dropping a non-existent temp ECOC collection in the compact coordinator
Branch: master
https://github.com/mongodb/mongo/commit/3d49923b38176803e5c9e62edd8889137b3ac18f

Comment by Githook User [ 01/Aug/22 ]

Author:

{'name': 'Erwin Pe', 'email': 'erwin.pe@mongodb.com', 'username': 'erwee'}

Message: SERVER-67909 Skip dropping a non-existent temp ECOC collection in the compact coordinator
Branch: master
https://github.com/10gen/mongo-enterprise-modules/commit/ac2a41bfcfba0dae84a5964d6543228f4deb3b5b

Generated at Thu Feb 08 06:09:22 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.