[SERVER-83444] Fix routing of cluster analyze_shard_key commands for unsplittable collections Created: 20/Nov/23  Updated: 30/Nov/23  Resolved: 30/Nov/23

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

Type: Task Priority: Major - P3
Reporter: Jordi Serra Torrens Assignee: Jordi Olivares Provencio
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
is depended on by SERVER-81190 Support tracking "simple" unsharded c... Closed
Backwards Compatibility: Fully Compatible
Sprint: CAR Team 2023-11-27, CAR Team 2023-12-11
Participants:

 Description   

cluster_analyze_shard_key_cmd.cpp and cluster_configure_query_analyzer_cmd.cpp do not route correctly for unsplittable collections:

  • They should attach ShardVersion (and no dbVersion) when there's a routing table for the collection. (here and here)
  • Assume that unsharded collections live on the db-primary shard.


 Comments   
Comment by Githook User [ 30/Nov/23 ]

Author:

{'name': 'Jordi Olivares Provencio', 'email': 'jordi.olivares-provencio@mongodb.com', 'username': 'jordiolivares'}

Message: SERVER-83444 Fix routing of cluster analyze_shard_key commands for unsplittable collections
Branch: master
https://github.com/mongodb/mongo/commit/342ebc7c8d50c988549ecef498d9a71ee5ed20a9

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