-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Minor - P4
-
Affects Version/s: None
-
Component/s: Internal Code
-
None
-
Fully Compatible
-
ALL
-
Sharding 2019-02-11
-
None
-
3
-
None
-
None
-
None
-
None
-
None
-
None
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.