[SERVER-68751] Add analyzeShardKey and configureQueryAnalyzer commands on mongos Created: 11/Aug/22  Updated: 29/Oct/23  Resolved: 30/Aug/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: Cheahuychou Mao Assignee: Cheahuychou Mao
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Sprint: Sharding 2022-08-22, Sharding 2022-09-05
Participants:

 Description   

For the analyzeShadKey command:

  • If the collection is unsharded, make the command forward itself to the primary shard.
  • If the collection is sharded, make the command forward itself to a random shard that has a chunk for the collection.

For the configureQueryAnalyzer command, make the command forward itself to the config server.



 Comments   
Comment by Britt Snyman [ 01/Sep/22 ]

Replacing the 6.1.0-rc1 fixVersion with 6.2.0-rc0 since these tickets had commits to master that were merged after we branched for v6.1.

Comment by Githook User [ 30/Aug/22 ]

Author:

{'name': 'Cheahuychou Mao', 'email': 'mao.cheahuychou@gmail.com', 'username': 'cheahuychou'}

Message: SERVER-68751 Add analyzeShardKey and configureQueryAnalyzer commands on mongos
Branch: master
https://github.com/mongodb/mongo/commit/27f7896edc0828d0c4bae3d70bbec7e8b0a66d98

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