[SERVER-67855] BSON column with non-zero delta after interleave end should uassert Created: 07/Jul/22  Updated: 29/Oct/23  Resolved: 08/Sep/22

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 6.2.0-rc0

Type: Improvement Priority: Major - P3
Reporter: Gregory Noma Assignee: Gregory Noma
Resolution: Fixed Votes: 0
Labels: neweng
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
is related to SERVER-67854 Test BSON column binary with zero del... Closed
Backwards Compatibility: Fully Compatible
Sprint: Execution Team 2022-09-19
Participants:

 Description   

A BSON column can have a zero delta after interleave end to indicate that the previous object should be repeated. However a non-zero delta in this case doesn't make sense and should result in a uassert. Currently this scenario hits a MONGO_UNREACHABLE instead.



 Comments   
Comment by Githook User [ 08/Sep/22 ]

Author:

{'name': 'Gregory Noma', 'email': 'gregory.noma@gmail.com', 'username': 'gregorynoma'}

Message: SERVER-67855 Throw on invalid delta in BSON Column encoding
Branch: master
https://github.com/mongodb/mongo/commit/7a3301774c0c3031ac724c25e24f005d45de4320

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