[SERVER-73978] Optimize shards retrieval in CheckMetadataConstistency command Created: 14/Feb/23  Updated: 29/Oct/23  Resolved: 29/Mar/23

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

Type: Improvement Priority: Major - P3
Reporter: Pol Pinol Assignee: Tommaso Tocci
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Assigned Teams:
Sharding EMEA
Backwards Compatibility: Fully Compatible
Participants:

 Description   

Instead of getting all databases here and then manually group them by Shard ID, we should be able to use an aggregation to retrieve the results already grouped by shard.



 Comments   
Comment by Githook User [ 29/Mar/23 ]

Author:

{'name': 'Tommaso Tocci', 'email': 'tommaso.tocci@mongodb.com', 'username': 'toto-dev'}

Message: SERVER-73978 Optimize shards retrieval in CheckMetadataConstistency command
Branch: master
https://github.com/mongodb/mongo/commit/581335ec61978fd60d09dd6dbcbc04e4b4e12ee3

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