-
Type: Bug
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: 4.0 Required
-
Component/s: None
-
None
-
Fully Compatible
-
ALL
Depending on platform, standard library and CPU microcode, comparing 2 "equal" doubles can yield unexpected results. Double should never be used as a key in container.
The fix should be here:
https://github.com/mongodb/mongo/blob/124ee49878b8fe8a43fda758408178be9db0ccf5/src/mongo/client/connpool.h#L400