[SERVER-49680] Make scanning for orphaned ranges on FCV upgrade faster Created: 16/Jul/20  Updated: 29/Oct/23  Resolved: 17/Jul/20

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

Type: Improvement Priority: Major - P3
Reporter: Matthew Saltz (Inactive) Assignee: Matthew Saltz (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Related
Backwards Compatibility: Fully Compatible
Sprint: Sharding 2020-07-27
Participants:

 Description   

This while loop to submit orphaned ranges for cleanup on upgrade can take a long time with large chunk maps. This can be fixed by avoiding recomputing this map every time.

We should also add logging to monitor progress of this process.



 Comments   
Comment by Githook User [ 17/Jul/20 ]

Author:

{'name': 'Matthew Saltz', 'email': 'matthew.saltz@mongodb.com', 'username': 'saltzm'}

Message: SERVER-49680 Make scanning for orphaned ranges on FCV upgrade faster
Branch: v4.4
https://github.com/mongodb/mongo/commit/15cf23251bba4dc87d6171d24210bb7fd91eb614

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