[SERVER-62205] Include sanity check for max chunk size argument of [auto]splitVector Created: 21/Dec/21  Updated: 29/Oct/23  Resolved: 04/Mar/22

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 5.3.2, 5.0.8, 6.0.0-rc0, 5.2.2

Type: Task Priority: Major - P3
Reporter: Pierlauro Sciarelli Assignee: Paolo Polato
Resolution: Fixed Votes: 0
Labels: sharding-wfbf-day
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Depends
Backwards Compatibility: Fully Compatible
Backport Requested:
v5.3, v5.2, v5.0
Sprint: Sharding EMEA 2022-03-21
Participants:
Linked BF Score: 21

 Description   

Add a check at the beginning of splitVector and autoSplitVector in order to check for the validity of the max chunk size parameter that is always expected to be greater than 1MB.



 Comments   
Comment by Githook User [ 19/Apr/22 ]

Author:

{'name': 'Paolo Polato', 'email': 'paolo.polato@mongodb.com', 'username': 'ppolato'}

Message: SERVER-62205 Check maxChunkSize parameter in (auto)splitVector requests
Branch: v5.0
https://github.com/mongodb/mongo/commit/9c4c52c6b1886b58b75fd16c46cac712775a34cb

Comment by Githook User [ 13/Apr/22 ]

Author:

{'name': 'Paolo Polato', 'email': 'paolo.polato@mongodb.com', 'username': 'ppolato'}

Message: SERVER-62205 Check maxChunkSize parameter in (auto)splitVector requests

(cherry picked from commit 46a82e8cd87b95cf404420916246e7af8b96850b)
Branch: v5.3
https://github.com/mongodb/mongo/commit/6f431d930572323ccb919c824e3ed007d5b27391

Comment by Githook User [ 24/Mar/22 ]

Author:

{'name': 'Paolo Polato', 'email': 'paolo.polato@mongodb.com', 'username': 'ppolato'}

Message: SERVER-62205 Check maxChunkSize parameter in (auto)splitVector requests

(cherry picked from commit 46a82e8cd87b95cf404420916246e7af8b96850b)
Branch: v5.2
https://github.com/mongodb/mongo/commit/090e7a7e2e9ce027da9499464e6c270a1b2f81e1

Comment by Githook User [ 04/Mar/22 ]

Author:

{'name': 'Paolo Polato', 'email': 'paolo.polato@mongodb.com', 'username': 'ppolato'}

Message: SERVER-62205 Check maxChunkSize parameter in (auto)splitVector requests
Branch: master
https://github.com/mongodb/mongo/commit/46a82e8cd87b95cf404420916246e7af8b96850b

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