Details
-
Bug
-
Resolution: Fixed
-
Major - P3
-
4.0 Required
-
None
-
None
-
Fully Compatible
-
ALL
Description
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