[SERVER-63969] Remove validation of ChunkType from migrateInfo Created: 24/Feb/22  Updated: 29/Oct/23  Resolved: 25/Feb/22

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 6.0.0-rc0, 5.3.0-rc3

Type: Task Priority: Major - P3
Reporter: Allison Easton Assignee: Allison Easton
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Backwards Compatibility: Fully Compatible
Backport Requested:
v5.3
Sprint: Sharding EMEA 2022-03-07
Participants:

 Description   

While constructing a migrateInfo struct, the chunkType passed in is validated. One of these checks is that the chunk version is set, which doesn't actually matter since the only value used from the version is the epoch. We should simply remove this verification and, in a later ticket, stop using the chunkType in the migrateInfo



 Comments   
Comment by Githook User [ 04/Mar/22 ]

Author:

{'name': 'Allison Easton', 'email': 'allison.easton@mongodb.com', 'username': 'allisoneaston'}

Message: SERVER-63969 Remove validation of ChunkType from migrateInfo

(cherry picked from commit ba526142d5b80aee629161dc5754fd928833daa3)
Branch: v5.3
https://github.com/mongodb/mongo/commit/2c58842f01e616ac550de578cdfa04fcd3cda02a

Comment by Githook User [ 25/Feb/22 ]

Author:

{'name': 'Allison Easton', 'email': 'allison.easton@mongodb.com', 'username': 'allisoneaston'}

Message: SERVER-63969 Remove validation of ChunkType from migrateInfo
Branch: master
https://github.com/mongodb/mongo/commit/ba526142d5b80aee629161dc5754fd928833daa3

Generated at Thu Feb 08 05:59:08 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.