[SERVER-78264] Make analyzeShardKey command return metrics about shard key characteristics under 'keyCharacteristics' field Created: 21/Jun/23  Updated: 29/Oct/23  Resolved: 23/Jun/23

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

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

Issue Links:
Backports
Problem/Incident
Backwards Compatibility: Fully Compatible
Backport Requested:
v7.0
Sprint: Sharding NYC 2023-06-26
Participants:
Linked BF Score: 40

 Description   

SERVER-77958 added the 'keyCharacteristics' and 'readWriteDistribution' options to the analyzeShardKey command. The analyzeShardKey command currently returns the metrics about the read and write distribution under the 'readDistribution' and 'writeDistribution' fields, respectively. However, it returns the metrics about the characteristics of the shard key at the outer-most level. These metrics should go under new field named 'keyCharacteristics' field for clarity.



 Comments   
Comment by Githook User [ 23/Jun/23 ]

Author:

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

Message: SERVER-78264 Make analyzeShardKey command return metrics about shard key characteristics under 'keyCharacteristics' field

(cherry picked from commit 190f19feb66d5fade7f72f1efe45e8b2855ef2de)
Branch: v7.0
https://github.com/mongodb/mongo/commit/a1c74e1170c4cdc839bdaeb78dd384cd805c61a2

Comment by Githook User [ 23/Jun/23 ]

Author:

{'name': 'liubov.molchanova', 'email': 'liubov.molchanova@mongodb.com', 'username': 'liubov-molchanova'}

Message: Revert "SERVER-78264 Make analyzeShardKey command return metrics about shard key characteristics under 'keyCharacteristics' field"

This reverts commit 6a1bd846b4ce6f2e6be6afc549b43930ae64f5c3.
Branch: v7.0
https://github.com/mongodb/mongo/commit/8761bfe37020d0ff3dbd0cb7ff562f7ca5e402d4

Comment by Githook User [ 22/Jun/23 ]

Author:

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

Message: SERVER-78264 Make analyzeShardKey command return metrics about shard key characteristics under 'keyCharacteristics' field

(cherry picked from commit 190f19feb66d5fade7f72f1efe45e8b2855ef2de)
Branch: v7.0
https://github.com/mongodb/mongo/commit/6a1bd846b4ce6f2e6be6afc549b43930ae64f5c3

Comment by Githook User [ 22/Jun/23 ]

Author:

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

Message: SERVER-78264 Make analyzeShardKey command return metrics about shard key characteristics under 'keyCharacteristics' field
Branch: master
https://github.com/mongodb/mongo/commit/190f19feb66d5fade7f72f1efe45e8b2855ef2de

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