[SERVER-84459]  [test-only bug] JumboChunksNotMovedRandom must keep chunk manager in scope in v4.4 Created: 29/Dec/23  Updated: 29/Dec/23  Resolved: 29/Dec/23

Status: Closed
Project: Core Server
Component/s: Sharding
Affects Version/s: None
Fix Version/s: 4.4.28

Type: Bug Priority: Major - P3
Reporter: Pierlauro Sciarelli Assignee: Pierlauro Sciarelli
Resolution: Fixed Votes: 0
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: CAR Team 2024-01-08
Participants:
Linked BF Score: 160

 Description   

The makeDistStatus function is de-referencing the chunk manager shared pointer. This means that when the chunk manager is created on the fly and passed as argument, there is no guarantee that the DistributionStatus will still reference valid memory.



 Comments   
Comment by Githook User [ 29/Dec/23 ]

Author:

{'name': 'Pierlauro Sciarelli', 'email': 'pierlauro.sciarelli@mongodb.com', 'username': 'pierlauro'}

Message: SERVER-84459 JumboChunksNotMovedRandom must keep chunk manager in scope in v4.4 (#17810)

GitOrigin-RevId: 0898c0187e3cda8e4fdb4c5cfd51ca3b5ea4b594
Branch: v4.4
https://github.com/mongodb/mongo/commit/17cd0a49c99373ce57de5671f1bdab876ae3b7b4

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