[SERVER-42122] Make internal uses of renameCollection call configsvrRenameCollection Created: 09/Jul/19  Updated: 06/Dec/22  Resolved: 27/Feb/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: [DO NOT USE] Backlog - Sharding Team
Resolution: Won't Fix Votes: 0
Labels: pm-1051-legacy-tickets
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Assigned Teams:
Sharding
Participants:

 Description   

I did a quick grep for renameCollection and found these major uses:

  • DocumentSourceOut::finalize
  • convertToCapped
  • mapReduce

However, there are also several other internal uses that I think do not need to call configsvrRenameCollection, but should be audited, like:

  • DropPendingCollectionReaper
  • createCollectionForApplyOps

Generated at Thu Feb 08 04:59:38 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.