-
Type: Improvement
-
Resolution: Done
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: Internal Code
-
None
-
Fully Compatible
-
Sharding 14 (05/13/16), Sharding 15 (06/03/16)
-
0
The std::duration types, which underly stdx::duration, have undefined behavior on overflow and in some other situations that we can easily and inadvertently encounter. Since we do not require optimal arithmetic performance on our duration types, it would be better to replace them with implementations that throw on overflow.
- related to
-
SERVER-24739 Unhandled duration_cast exception in DataFileSync::run can terminate server
- Closed