[SERVER-77595] reshard command fetches the entire tags/zone for collection unnecessarily Created: 30/May/23  Updated: 12/Dec/23

Status: Backlog
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Minor - P4
Reporter: Randolph Tan Assignee: Backlog - Cluster Scalability
Resolution: Unresolved Votes: 0
Labels: ShardingTechDebt, neweng
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Assigned Teams:
Cluster Scalability
Participants:

 Description   

just to check if it is non-empty:

https://github.com/10gen/mongo/blob/4954cb44e1ceeda02db1902ffd7ea89d08c7b04c/src/mongo/db/s/config/configsvr_reshard_collection_cmd.cpp#L108

A query with limit 1 should be sufficient for this purpose.


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