[SERVER-54269] Time-series bucket catalog should reject inserts with missing/invalid time field Created: 03/Feb/21 Updated: 29/Oct/23 Resolved: 08/Feb/21 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 4.9.0 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Gregory Noma | Assignee: | Dan Larkin-York |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Backwards Compatibility: | Fully Compatible |
| Operating System: | ALL |
| Sprint: | Execution Team 2021-02-08, Execution Team 2021-02-22 |
| Participants: |
| Description |
|
In BucketCatalog::insert, currently we look up the time field without first checking whether it exists or is even of the correct type. We should return an error in this case. |
| Comments |
| Comment by Githook User [ 08/Feb/21 ] |
|
Author: {'name': 'Dan Larkin-York', 'email': 'dan.larkin-york@mongodb.com', 'username': 'dhly-etc'}Message: |