[SERVER-71399] Jumbo chunk flag isn't automatically cleared after a chunk split Created: 16/Nov/22  Updated: 29/Oct/23  Resolved: 10/Jan/23

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 5.0.15, 6.0.4, 6.3.0-rc0

Type: Bug Priority: Major - P3
Reporter: Silvia Surroca Assignee: Silvia Surroca
Resolution: Fixed Votes: 0
Labels: sharding-wfbf-day
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: File split_jumbo_chunk.js    
Issue Links:
Backports
Problem/Incident
is caused by SERVER-53468 Ensure config.chunks stability during... Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Requested:
v6.2, v6.0, v5.0, v4.4, v4.2
Sprint: Sharding EMEA 2022-12-12, Sharding EMEA 2022-12-26, Sharding EMEA 2023-01-09
Participants:

 Description   

Regading the MongoDB documentation about jumbo chunks, MongoDB removes the jumbo flag upon successful split of the chunk. That's not the actual behaviour, though.

The current behaviour is that after a successful split of a jumbo chunk we get 2 new jumbo chunks because new chunks are initialised as a copy of the original chunk.

Since there is no test controlling that, the scope of this ticket should also include a test case to cover that scenario.
You will find attached to this ticket a brand new test file to force the issue. It must be run on the sharding suite.



 Comments   
Comment by Githook User [ 13/Jan/23 ]

Author:

{'name': 'Silvia Surroca', 'email': 'silvia.surroca@mongodb.com', 'username': 'silviasuhu'}

Message: SERVER-71399 Jumbo chunk flag must be cleared following a chunk split

(cherry picked from commit fb8f9ecd5e32272c8c16101640f394a7621a6a82)
Branch: v5.0
https://github.com/mongodb/mongo/commit/291fc85952b0bace733817d233e99aeb25280667

Comment by Githook User [ 11/Jan/23 ]

Author:

{'name': 'Silvia Surroca', 'email': 'silvia.surroca@mongodb.com', 'username': 'silviasuhu'}

Message: SERVER-71399 Jumbo chunk flag must be cleared following a chunk split

(cherry picked from commit fb8f9ecd5e32272c8c16101640f394a7621a6a82)
Branch: v6.0
https://github.com/mongodb/mongo/commit/037b4762ef6963464bc1905a09d769f3b8dbf0ec

Comment by Githook User [ 10/Jan/23 ]

Author:

{'name': 'Silvia Surroca', 'email': 'silvia.surroca@mongodb.com', 'username': 'silviasuhu'}

Message: SERVER-71399 Jumbo chunk flag must be cleared following a chunk split
Branch: master
https://github.com/mongodb/mongo/commit/fb8f9ecd5e32272c8c16101640f394a7621a6a82

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