[SERVER-69588] Simplify global indexes aggregation on the catalog client Created: 12/Sep/22  Updated: 29/Oct/23  Resolved: 14/Sep/22

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

Type: Task Priority: Major - P3
Reporter: Allison Easton Assignee: Allison Easton
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 2022-09-19
Participants:

 Description   

Currently, the aggregation to get the global indexes is running a $unionWith in the same way that the chunks aggregation is. However, this is not actually neccessary. We can replace the unionWith with a simple lookup for the indexes and simplify the aggregation a lot.



 Comments   
Comment by Githook User [ 14/Sep/22 ]

Author:

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

Message: SERVER-69588 Simplify global indexes aggregation on the catalog client
Branch: master
https://github.com/mongodb/mongo/commit/1317ca82d0226dc0edd6b356862a8cce979564a9

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