[SERVER-70664] Add internal helper command "getAllClusterParameters" Created: 18/Oct/22  Updated: 05/Dec/22  Resolved: 31/Oct/22

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

Type: New Feature Priority: Major - P3
Reporter: Gabriel Marks Assignee: Backlog - Security Team
Resolution: Won't Do Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
related to SERVER-70978 Complete TODO listed in SERVER-70664 Closed
Assigned Teams:
Server Security
Participants:

 Description   

In one case of addShard and in the ClusterServerParameterRefresher, we fetch all cluster parameters. Currently, we have to perform one call of getClusterParameter for each tenant, which scales linearly in network calls with the number of tenants. getAllClusterParameters would fetch all cluster parameters for all tenants in one network call, and return an object which looks like: {<tenant-id-1>: [{_id: "cluster-parameter-1", clusterParameterTime: <timestamp>, <param-field-1>: <val>, ...}, ...], ...}.


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