[SERVER-42793] Autosplit size tracker random initial value is too low Created: 13/Aug/19  Updated: 29/Oct/23  Resolved: 15/Aug/19

Status: Closed
Project: Core Server
Component/s: Sharding
Affects Version/s: 3.6.13, 4.0.12
Fix Version/s: 3.6.15, 4.0.13

Type: Bug Priority: Major - P3
Reporter: Randolph Tan Assignee: Randolph Tan
Resolution: Fixed Votes: 1
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Sharding 2019-08-26
Participants:

 Description   

Initialization here tries to set the value to 0~12 MB, but instead set it as 0~12 bytes instead:

https://github.com/mongodb/mongo/blob/r3.6.13/src/mongo/s/chunk.cpp#L50



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

Author:

{'name': 'Randolph Tan', 'email': 'randolph@10gen.com', 'username': 'renctan'}

Message: SERVER-42793 Autosplit size tracker random initial value is too low

(cherry picked from commit 49b35184bf144315e66108ce3eab8d168bde1ad6)
Branch: v3.6
https://github.com/mongodb/mongo/commit/1c820acb1aa8eaa19b6862f23133e2abf51e32bb

Comment by Githook User [ 15/Aug/19 ]

Author:

{'name': 'Randolph Tan', 'email': 'randolph@10gen.com', 'username': 'renctan'}

Message: SERVER-42793 Autosplit size tracker random initial value is too low
Branch: v4.0
https://github.com/mongodb/mongo/commit/49b35184bf144315e66108ce3eab8d168bde1ad6

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