[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: |
|
||||
| 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: (cherry picked from commit ba526142d5b80aee629161dc5754fd928833daa3) |
| Comment by Githook User [ 25/Feb/22 ] |
|
Author: {'name': 'Allison Easton', 'email': 'allison.easton@mongodb.com', 'username': 'allisoneaston'}Message: |