Details
-
Bug
-
Resolution: Fixed
-
Major - P3
-
None
-
None
-
None
-
Minor Change
-
ALL
-
Query 2019-04-08
Description
As noted in SERVER-37183, the hash function used for double values performs an undefined cast when hashing the value 2^63, and the resulting value is different on PPC than on other supported platforms. We should make this hash value consistent across architectures, but before we do that, we need a path for existing PPC installations to rehash any documents with a hashed index key that includes a 2^63 double value.
Attachments
Issue Links
- is documented by
-
DOCS-12610 Docs for SERVER-38623: Make safeNumberLongForHash consistent between PPC and other architectures
-
- Closed
-
- related to
-
SERVER-37183 BSONElement::safeNumberLong is not safe
-
- Closed
-