Details
-
Bug
-
Resolution: Fixed
-
Minor - P4
-
None
-
None
-
Fully Compatible
-
ALL
-
Sharding 2019-02-11
Description
The timeout constants defined under WriteConcernOptions can be used before they are initialized in places where we construct static WriteConcernOptions constants, such as here.
Because of this, these usages get the zero-initialized value and can lead to unexpected errors.