[SERVER-60748] The `EachOnDeleteRequiresAboutToDelete` test case invariants in `aboutToDelete` and not in `onDelete` Created: 15/Oct/21 Updated: 29/Oct/23 Resolved: 19/Nov/21 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 5.2.0 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Kaloian Manassiev | Assignee: | Benety Goh |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||
| Operating System: | ALL | ||||||||||||
| Sprint: | Execution Team 2021-11-29 | ||||||||||||
| Participants: | |||||||||||||
| Description |
|
According to this test run, the EachOnDeleteRequiresAboutToDelete death test seems to be crashing due to an invariant in aboutToDelete and on in onDelete. Filing this ticket by suggestion from benety.goh so the Execution team can check that the right conditions are tested by this unit-test. |
| Comments |
| Comment by Githook User [ 19/Nov/21 ] |
|
Author: {'name': 'Benety Goh', 'email': 'benety@mongodb.com', 'username': 'benety'}Message: |
| Comment by Benety Goh [ 19/Nov/21 ] |
|
We stopped requiring matching onDelete and aboutToDelete() calls in OpObserverImpl. We can update this test to reflect the current restriction in the DocumentKey constructor. |
| Comment by Benety Goh [ 19/Nov/21 ] |
|
The test is currently failing on an invariant in the DocumentKey constructor added in We can provide a valid BSON document to onDelete() to get past this invariant. |