[SERVER-35676] numInitialChunks Argument is Not Validated Created: 19/Jun/18  Updated: 29/Oct/23  Resolved: 25/Jun/18

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

Type: Bug Priority: Major - P3
Reporter: Robert Guo (Inactive) 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
Related
is related to SERVER-22430 Validate the numInitialChunks paramet... Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Requested:
v4.0
Sprint: Sharding 2018-07-16
Participants:
Linked BF Score: 4

 Description   

It looks like the fix in SERVER-22430 got missed with the introduction of the _configsvrShardCollection command. As such, we no longer validate the numInitialChunks argument to shardCollection.



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

Author:

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

Message: SERVER-35676 Handle integer overflow when validating numInitialChunks

(cherry picked from commit 6fc361517b8d6ee6ba1859c309881c208ef051cb)
Branch: v4.0
https://github.com/mongodb/mongo/commit/40f20ec77e93c9b1982a932f5177e01f43df696e

Comment by Githook User [ 25/Jun/18 ]

Author:

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

Message: SERVER-35676 Handle integer overflow when validating numInitialChunks
Branch: master
https://github.com/mongodb/mongo/commit/6fc361517b8d6ee6ba1859c309881c208ef051cb

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