[SERVER-79780] ScopedCollectionDescription shouldn't hold a RangePreserver Created: 07/Aug/23  Updated: 21/Nov/23  Resolved: 21/Aug/23

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: 7.1.0-rc0
Fix Version/s: 7.1.0-rc0, 7.0.2

Type: Bug Priority: Major - P3
Reporter: Jordi Serra Torrens Assignee: Allison Easton
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Depends
Problem/Incident
causes SERVER-83499 Update metadata manager tests that ex... Closed
is caused by SERVER-77507 Integrate acquisitions into Find Closed
Assigned Teams:
Sharding EMEA
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Requested:
v7.0
Sprint: Sharding EMEA 2023-08-21, Sharding EMEA 2023-09-04
Participants:
Linked BF Score: 119

 Description   

`ScopedCollectionDescription` is currently holding a RangePreserver that blocks orphans from being deleted. This is because calling `_getCurrentMetadataIfKnown` with boost::none argument will always attach a RangePreserver.
ScopedCollectionDescription is not an orphan filter, therefore it does not require this range-preserving property.



 Comments   
Comment by Githook User [ 24/Aug/23 ]

Author:

{'name': 'Allison Easton', 'email': 'allison.easton@mongodb.com', 'username': 'allisoneaston'}

Message: SERVER-79780 ScopedCollectionDescription shouldn't hold a RangePreserver

(cherry picked from commit d8a77f68e2d0efdda20b0e363e0e7949365558db)
Branch: v7.0
https://github.com/mongodb/mongo/commit/7c7143e37ec8c208ba862020d7377a0fc9955e2b

Comment by Githook User [ 21/Aug/23 ]

Author:

{'name': 'Allison Easton', 'email': 'allison.easton@mongodb.com', 'username': 'allisoneaston'}

Message: SERVER-79780 ScopedCollectionDescription shouldn't hold a RangePreserver
Branch: master
https://github.com/mongodb/mongo/commit/d8a77f68e2d0efdda20b0e363e0e7949365558db

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