[SERVER-73542] Ensure resharding cleans up global index metadata on donor shards Created: 02/Feb/23  Updated: 29/Oct/23  Resolved: 07/Feb/23

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 6.3.0-rc0

Type: Task Priority: Major - P3
Reporter: Allison Easton Assignee: Marcos José Grillo Ramirez
Resolution: Fixed Votes: 0
Labels: PM-2583-Milestone-2
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Sprint: Sharding EMEA 2023-02-06
Participants:

 Description   

During resharding, we are renaming global index metadata on recipients. However, on donor shards that are not also acting as recipients, we are not cleaning up the global index metadata.
We should add a call to dropCollectionGlobalIndexesMetadata while dropping the original collection if the collection has an index version and the shard is not a recipient.



 Comments   
Comment by Githook User [ 07/Feb/23 ]

Author:

{'name': 'Marcos José Grillo Ramirez', 'email': 'marcos.grillo@mongodb.com', 'username': 'm4nti5'}

Message: SERVER-73542 Drop index metadata in resharding donors that are not recipients
Branch: master
https://github.com/mongodb/mongo/commit/5d7876b19184677959be260754691d5bfeefc7c7

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