It's possible for the server to terminate with an unhandled duration_cast exception if an invalid syncdelay value is specified:
d20000| 2016-06-22T17:25:51.587-0400 E COMMAND [DataFileSync] backgroundjob DataFileSync exception: Overflow casting from a lower-precision duration to a higher-precision duration d20000| 2016-06-22T17:25:51.588-0400 F - [DataFileSync] terminate() called. An exception is active; attempting to gather more information d20000| 2016-06-22T17:25:51.590-0400 F - [DataFileSync] DBException::toString(): 159 Overflow casting from a lower-precision duration to a higher-precision duration d20000| Actual exception type: mongo::UserException
This bug seems to have been introduced after 3.3.6.
- is related to
-
SERVER-24104 Replace std::duration types with implementations that throw exceptions on overflow
- Closed