[SERVER-47677] Add test of cleanupOrphaned with disableResumableRangeDeleter=true Created: 20/Apr/20  Updated: 27/Oct/23  Resolved: 22/Apr/20

Status: Closed
Project: Core Server
Component/s: Sharding
Affects Version/s: None
Fix Version/s: None

Type: Task Priority: Major - P3
Reporter: Esha Maharishi (Inactive) Assignee: Esha Maharishi (Inactive)
Resolution: Works as Designed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Sprint: Sharding 2020-05-04
Participants:

 Description   

We're deleting the test of cleanupOrphaned in FCV 4.2 in SERVER-46839, which means we won't have any remaining test coverage of the old cleanupOrphaned logic that can still run in 4.6+ when the "disableResumableRangeDeleter" server parameter is set to "true."



 Comments   
Comment by Esha Maharishi (Inactive) [ 22/Apr/20 ]

The commit for SERVER-47711 was accidentally made under this ticket.

Comment by Esha Maharishi (Inactive) [ 22/Apr/20 ]

I forgot that we do still have test coverage of cleanupOrphaned with disableResumableRangeDeleter=true, e.g. under https://github.com/mongodb/mongo/blob/47bdd45ded2b9c16a88877c161023c3364099196/jstests/sharding/cleanup_orphaned.js

In fact, the only two cleanupOrphaned tests with disableResumableRangeDeleter=false are

https://github.com/mongodb/mongo/blob/47bdd45ded2b9c16a88877c161023c3364099196/jstests/sharding/cleanup_orphaned_with_resumable_range_deleter.js

and this part of

https://github.com/mongodb/mongo/blob/47bdd45ded2b9c16a88877c161023c3364099196/jstests/sharding/cleanup_orphaned_basic.js#L131-L137

Generated at Thu Feb 08 05:14:55 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.