[SERVER-35749] MapReduce throws exception within ON_BLOCK_EXIT, crashes server Created: 22/Jun/18  Updated: 06/Dec/22  Resolved: 22/Jun/18

Status: Closed
Project: Core Server
Component/s: Sharding
Affects Version/s: 3.6.5
Fix Version/s: None

Type: Bug Priority: Major - P3
Reporter: Matthew Saltz (Inactive) Assignee: [DO NOT USE] Backlog - Sharding Team
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Duplicate
duplicates SERVER-33245 mr.cpp can throw in an ON_BLOCK_EXIT ... Closed
Assigned Teams:
Sharding
Operating System: ALL
Participants:
Linked BF Score: 56

 Description   

If a node steps down during MapReduce, dropTempCollections can be called from ON_BLOCK_EXIT while an exception is active. dropTempCollections then throws itself, causing std::terminate to be called. We should avoid throwing from this function.


Generated at Thu Feb 08 04:40:49 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.