[SERVER-34658] Don't throw an exception inside a ScopeGuard in the MovePrimarySourceManager Created: 24/Apr/18  Updated: 29/Oct/23  Resolved: 26/Apr/18

Status: Closed
Project: Core Server
Component/s: Sharding
Affects Version/s: 3.7.6
Fix Version/s: 4.0.0-rc0

Type: Bug Priority: Major - P3
Reporter: Blake Oler Assignee: Blake Oler
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
is related to SERVER-34796 Make _cleanup only clear the DSS if t... Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Sharding 2018-05-07
Participants:

 Description   

Throwing an exception inside a ScopeGuard will cause the server to crash. We should avoid doing that.



 Comments   
Comment by Githook User [ 26/Apr/18 ]

Author:

{'email': 'blake.oler@mongodb.com', 'username': 'BlakeIsBlake', 'name': 'Blake Oler'}

Message: SERVER-34658 Don't throw an exception inside a ScopeGuard in the MovePrimarySourceManager
Branch: master
https://github.com/mongodb/mongo/commit/96f2a1a8389774a495b7ea3d4ef8f8ec48af5b50

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