[SERVER-35794] Read zone information for a collection during internal shardCollection command Created: 25/Jun/18  Updated: 29/Oct/23  Resolved: 18/Jul/18

Status: Closed
Project: Core Server
Component/s: Sharding
Affects Version/s: None
Fix Version/s: 4.0.2, 4.1.1

Type: Task Priority: Major - P3
Reporter: Janna Golden Assignee: Cheahuychou Mao
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Depends
depends on SERVER-35722 Create internal _shardsvrShardCollect... Closed
is depended on by SERVER-36102 Create initial chunks on appropriate ... Closed
Documented
is documented by DOCS-11894 Docs for SERVER-35794: Read zone info... Closed
Duplicate
is duplicated by SERVER-35871 shardCollection should check if reque... Closed
Backwards Compatibility: Minor Change
Backport Requested:
v4.0
Sprint: Sharding 2018-07-16, Sharding 2018-07-30
Participants:

 Description   

The new internal shardCollection command that is run on the primary shard should read zone information from the config server if existent for the collection. It should use these zones to create the initial split points. If the shard key is not consistent with existing zone information, should throw an IllegalZone exception.



 Comments   
Comment by Githook User [ 15/Aug/18 ]

Author:

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

Message: SERVER-35794 Validate shard key against existing zones

(cherry picked from commit e7736e0424eccf99431cc302447dad7fc2f14c4d)
Branch: v4.0
https://github.com/mongodb/mongo/commit/908bafa8135b152baebb3f0e2db32a704b80fecd

Comment by Githook User [ 18/Jul/18 ]

Author:

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

Message: SERVER-35794 Validate shard key against existing zones
Branch: master
https://github.com/mongodb/mongo/commit/e7736e0424eccf99431cc302447dad7fc2f14c4d

Generated at Thu Feb 08 04:41:01 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.