[SERVER-54211] Interrupted canonicalization can cause crash Created: 02/Feb/21 Updated: 02/Feb/21 Resolved: 02/Feb/21 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Querying |
| Affects Version/s: | 4.9.0 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Joel Redman (Inactive) | Assignee: | Joel Redman (Inactive) |
| Resolution: | Duplicate | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Operating System: | ALL | ||||||||
| Steps To Reproduce: | Ideally, add failpoint to interrupt CanonicalQuery::canonicalize, then run a distinct query. Alternatively, running jstestfuzz_interrupt_replication should generate the error after several attempts. |
||||||||
| Sprint: | Query 2021-02-08 | ||||||||
| Participants: | |||||||||
| Description |
|
During canonicalize, it's possible that the query can be interrupted, but we don't always check the status returned, and instead pass the incomplete object on. |