-
Type: Task
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: 4.0.5, 4.1.6
-
Component/s: Sharding
-
Fully Compatible
-
v4.0
-
Sharding 2019-01-28
-
45
The given contract for changelog writes is that these writes are "best-effort," implying that we should not assert on their success. This case in particular is problematic because it's inside a scopedGuard. When an exception is not caught from inside a scopedGuard, it causes std::terminate to be called.
This ticket is to simply change the call from logChangeChecked to logChange, and then remove the uassertStatusOK.
- is duplicated by
-
SERVER-37292 MovePrimarySourceManager can throw unhandled exception in a scope guard
- Closed