[SERVER-82112] Test that buckets with mixed schema data cannot be reopened Created: 12/Oct/23  Updated: 10/Nov/23  Resolved: 10/Nov/23

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

Type: Task Priority: Major - P3
Reporter: Gregory Wlodarek Assignee: Gregory Wlodarek
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Assigned Teams:
Storage Execution NAMER
Backwards Compatibility: Fully Compatible
Sprint: Execution Team 2023-11-13, Execution Team 2023-11-27
Participants:

 Description   

The theory is that this is already the case. We need to add a test. When we rehydrate the bucket we have to reestablish the representation of the schema from the doc. We go through Schema::parseFromBSON to do this which has canonical type checks.



 Comments   
Comment by Githook User [ 10/Nov/23 ]

Author:

{'name': 'Gregory Wlodarek', 'email': 'gregory.wlodarek@mongodb.com', 'username': 'GWlodarek'}

Message: SERVER-82112 Test that buckets with mixed schema data cannot be reopened
Branch: master
https://github.com/mongodb/mongo/commit/5303abb13758fa337ca1c769451351b3b27a6b80

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