[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: |